org.deegree.portal.standard.csw.control
Class InitCSWModuleListener
java.lang.Object
org.deegree.enterprise.control.AbstractListener
org.deegree.portal.standard.csw.control.InitCSWModuleListener
- All Implemented Interfaces:
- java.util.EventListener, WebListener
public class InitCSWModuleListener
- extends AbstractListener
This classes initializes the configurations of the the CSW-module from the WMC to be used by the CSW client
- Version:
- $Revision: 19071 $, $Date: 2009-08-12 16:42:35 +0200 (Mi, 12 Aug 2009) $
- Author:
- Judit Mays, last edited by: $Author: jmays $
Methods inherited from class org.deegree.enterprise.control.AbstractListener |
getAlternativeNextPage, getHomePath, getInitParameter, getInitParameterList, getNextPage, getRequest, getReturnValue, gotoErrorPage, handle, setAlternativeNextPage, setDefaultAlternativeNextPage, setDefaultNextPage, setNextPage, setReturnValue, toModel |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InitCSWModuleListener
public InitCSWModuleListener()
actionPerformed
public void actionPerformed(FormEvent event)
- Specified by:
actionPerformed
in interface WebListener
- Specified by:
actionPerformed
in class AbstractListener
initConfig
protected void initConfig(CSWClientConfiguration config,
ParameterList parList)
throws CatalogClientException
- Extracts all the needed configurations from the WMC csw-module and fills the config nstance with them
- Parameters:
config
- parList
-
- Throws:
CatalogClientException
findCswClientModule
protected Module findCswClientModule(GeneralExtension gen)
throws CatalogClientException
- Extracts the csw module from the GeneralExtension in the WebMapContext
- Parameters:
gen
- the general extension of the WMC in which to search for a given module
- Returns:
- Returns the (first) csw client module found in one of the GUI areas. Search order is north, east, south,
west, center.
- Throws:
CatalogClientException
- if the csw client module cannot be found.
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org