org.deegree.portal.portlet.modules.actions
Class AbstractPortletPerform
java.lang.Object
org.deegree.portal.portlet.modules.actions.AbstractPortletPerform
- Direct Known Subclasses:
- IGeoPortalPortletPerform, ToolbarPortletPerform
public abstract class AbstractPortletPerform
- extends Object
- Version:
- $Revision: 9346 $, $Revision: 9346 $, $Date: 2007-12-27 17:39:07 +0100 (Do, 27 Dez 2007) $
- Author:
- Andreas Poth, last edited by: $Author: apoth $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INIT_MAPPORTLETID
public static final String INIT_MAPPORTLETID
- See Also:
- Constant Field Values
INIT_WMC
public static final String INIT_WMC
- See Also:
- Constant Field Values
AVAILABLE_WMC
public static final String AVAILABLE_WMC
- See Also:
- Constant Field Values
SESSION_HOME
public static final String SESSION_HOME
- See Also:
- Constant Field Values
CURRENT_WMC
public static final String CURRENT_WMC
- See Also:
- Constant Field Values
CURRENT_WMC_NAME
public static final String CURRENT_WMC_NAME
- See Also:
- Constant Field Values
SESSION_VIEWCONTEXT
public static final String SESSION_VIEWCONTEXT
- See Also:
- Constant Field Values
SESSION_CURRENTFILAYER
public static final String SESSION_CURRENTFILAYER
- See Also:
- Constant Field Values
PARAM_MAPPORTLET
public static final String PARAM_MAPPORTLET
- See Also:
- Constant Field Values
PARAM_MAPACTION
public static final String PARAM_MAPACTION
- See Also:
- Constant Field Values
PARAM_MODE
public static final String PARAM_MODE
- See Also:
- Constant Field Values
portlet
protected org.apache.jetspeed.portal.Portlet portlet
request
protected HttpServletRequest request
parameter
protected Map<String,String> parameter
AbstractPortletPerform
public AbstractPortletPerform(HttpServletRequest request,
org.apache.jetspeed.portal.Portlet portlet)
- Parameters:
portlet
- request
-
getInitParam
protected String getInitParam(String name)
- returns the value of the passed init parameter. This method shal be used to hide functional
implementation from concrete portlet implementation.
- Parameters:
name
-
- Returns:
- the value of the passed init parameter.
getMapPortletID
protected String getMapPortletID()
- returns the ID of the mapmodel assigned to a portlet. First the method tries to read it from
the portlets initparameter. If not present it returns the ID of the first
iGeoPortal:MapWindowPortlet it finds.
- Returns:
- the ID of the mapmodel assigned to a portlet. First the method tries to read it from
the portlets initparameter. If not present it returns the ID of the first
iGeoPortal:MapWindowPortlet it finds.
buildNormalContext
public void buildNormalContext()
throws PortalException
- this method will be called each time a portlet will be repainted. It determines all portlets
visible in a page and writes a Map with the portlets name as key and the portlets ID as value
into the forwarded HttpRequest object
- Throws:
PortalException
readMapContextID_
protected String readMapContextID_()
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net