org.deegree.portal.portlet.enterprise
Class SimplePrintListener
java.lang.Object
org.deegree.enterprise.control.AbstractListener
org.deegree.portal.common.control.AbstractSimplePrintListener
org.deegree.portal.portlet.enterprise.SimplePrintListener
- All Implemented Interfaces:
- EventListener, WebListener
public class SimplePrintListener
- extends AbstractSimplePrintListener
performs a print request/event by creating a PDF document from the current map
- Version:
- $Revision: 18195 $, $Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
- Author:
- Andreas Poth, last edited by: $Author: mschneider $
Method Summary |
protected User |
getUser()
returns the user who is requesting the print map view or null if no user
information is available |
protected ViewContext |
getViewContext(RPCWebEvent rpc)
reads the view context to print from the users session |
protected void |
validate(RPCWebEvent rpc)
validates the incoming request/RPC if conatins all required elements |
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 |
SimplePrintListener
public SimplePrintListener()
getUser
protected User getUser()
- returns the user who is requesting the print map view or
null
if no user
information is available
- Overrides:
getUser
in class AbstractSimplePrintListener
- Returns:
- the user who is requesting the print map view or
null
if no user
information is available
getViewContext
protected ViewContext getViewContext(RPCWebEvent rpc)
- reads the view context to print from the users session
- Specified by:
getViewContext
in class AbstractSimplePrintListener
- Parameters:
rpc
-
- Returns:
- ViewContext
validate
protected void validate(RPCWebEvent rpc)
throws PortalException
- validates the incoming request/RPC if conatins all required elements
- Overrides:
validate
in class AbstractSimplePrintListener
- Parameters:
rpc
-
- Throws:
PortalException
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org