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

org.deegree.portal.portlet.enterprise
Class SimplePrintListener

java.lang.Object
  extended by org.deegree.enterprise.control.AbstractListener
      extended by org.deegree.portal.common.control.AbstractSimplePrintListener
          extended by 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 $

Constructor Summary
SimplePrintListener()
           
 
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.portal.common.control.AbstractSimplePrintListener
actionPerformed, calcScale, getVendorspecificParameters
 
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

SimplePrintListener

public SimplePrintListener()
Method Detail

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

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