org.deegree_impl.clients.wcasclient.control
Class AddToShoppingCartListener
java.lang.Object
org.deegree_impl.enterprise.control.AbstractListener
org.deegree_impl.clients.wcasclient.control.AddToShoppingCartListener
- All Implemented Interfaces:
- java.util.EventListener, WebListener
- public class AddToShoppingCartListener
- extends AbstractListener
adds an entray to the selection/shoppingcard of a user. the required informations
are contained in the RPCWebEvent passed to the actionPerformed method.
- Version:
- $Revision: 1.4 $ $Date: 2004/04/07 06:43:48 $
- Author:
- Andreas Poth
| Fields inherited from class org.deegree_impl.enterprise.control.AbstractListener |
|
| Methods inherited from class org.deegree_impl.enterprise.control.AbstractListener |
getAlternativeNextPage, 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 |
AddToShoppingCartListener
public AddToShoppingCartListener()
actionPerformed
public void actionPerformed(FormEvent ev)
- Specified by:
actionPerformed in interface WebListener- Specified by:
actionPerformed in class AbstractListener
- Parameters:
ev -
createSelectionEntry
private SelectionEntry createSelectionEntry(RPCWebEvent we)
throws CatalogClientException
- creates a SelectionEntry from the incomming RPCWebEvent
and the contained data/parameters.
- Parameters:
we -
- Returns:
- SelectionEntry
- Throws:
CatalogClientException
isAuthorizied
protected java.lang.String isAuthorizied(java.lang.String id,
int access)
throws CatalogClientException
- validates if the current user iss allowed to display the selected datasets
with a WMS
- Returns:
-
- Throws:
CatalogClientException