deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.portal.standard.csw.control
Class DisplayMapListener

java.lang.Object
  extended by org.deegree.enterprise.control.AbstractListener
      extended by org.deegree.portal.standard.csw.control.SimpleSearchListener
          extended by org.deegree.portal.standard.csw.control.AddToShoppingCartListener
              extended by org.deegree.portal.standard.csw.control.DisplayMapListener
All Implemented Interfaces:
EventListener, WebListener

Deprecated. Shopping cart will not be supported at the moment. update: new changes in deegree1_fork will not be carried here, since this class is still not used. Remove when this status changes

@Deprecated
public class DisplayMapListener
extends AddToShoppingCartListener

A ${type_name} class.
This listener is called when one or more items of the shopping cart shall be displayed in a map. For all chosen items of the cart the wms layers are collected and a new mapcontext containing these layers is created/saved in the users folder (user must be logged in). Then, the contextname is passed to the follow up page to be loaded in the portal.

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Judit Mays, last edited by: $Author: mschneider $

Field Summary
 
Fields inherited from class org.deegree.portal.standard.csw.control.AddToShoppingCartListener
RPC_TITLE
 
Fields inherited from class org.deegree.portal.standard.csw.control.SimpleSearchListener
config, HTML_FRAGMENT, nsContext, RESULT_SEARCH, RPC_CATALOG, RPC_FORMAT, SESSION_AVAILABLESERVICECATALOGS, SESSION_DATARECORDS, SESSION_REQUESTFORRESULTS, SESSION_RESULTFORHITS
 
Constructor Summary
DisplayMapListener()
          Deprecated.  
 
Method Summary
 void actionPerformed(FormEvent event)
          Deprecated.  
static void saveDocument(ViewContext vc, String filename)
          Deprecated. saves the new context as xml
protected  void validateRequest(RPCWebEvent rpcEvent)
          Deprecated. Validates the rpc request and makes sure that all the needed parameters are included
 
Methods inherited from class org.deegree.portal.standard.csw.control.AddToShoppingCartListener
getDataSessionRecordFromList
 
Methods inherited from class org.deegree.portal.standard.csw.control.SimpleSearchListener
createDataSessionRecords, createRequest, createRpcStructForServiceSearch, doServiceSearch, extractMetadata, extractRPCCatalogs, extractRPCMember, extractRPCParameters, extractRPCStruct, extractValue, getMetadataType, getXPathToId, getXPathToTitle, handleResult, isKnownMetadataType, performRequest
 
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
 

Constructor Detail

DisplayMapListener

public DisplayMapListener()
Deprecated. 
Method Detail

actionPerformed

public void actionPerformed(FormEvent event)
Deprecated. 
Specified by:
actionPerformed in interface WebListener
Overrides:
actionPerformed in class AddToShoppingCartListener

validateRequest

protected void validateRequest(RPCWebEvent rpcEvent)
                        throws CatalogClientException
Deprecated. 
Description copied from class: SimpleSearchListener
Validates the rpc request and makes sure that all the needed parameters are included

Overrides:
validateRequest in class AddToShoppingCartListener
Throws:
CatalogClientException

saveDocument

public static final void saveDocument(ViewContext vc,
                                      String filename)
                               throws PortalException
Deprecated. 
saves the new context as xml

Parameters:
vc -
filename -
Throws:
PortalException

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org