|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.portal.portlet.modules.actions.AbstractPortletPerform
org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform
org.deegree.portal.portlet.modules.map.actions.portlets.WMCManagementPortletPerfom
public class WMCManagementPortletPerfom
Perform class for saving WMCs
Field Summary | |
---|---|
static java.lang.String |
DESCRIPTION
|
static java.lang.String |
FILENAME
|
static java.lang.String |
KEYWORDS
|
static java.lang.String |
TITLE
|
Fields inherited from class org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform |
---|
PARAM_BBOX, PARAM_LAYER, PARAM_MAPMODE, PARAM_SESSIONID, PARAM_STYLE, sc, SESSION_HISTORY, SESSION_HISTORYPOSITION, vcMap |
Fields inherited from class org.deegree.portal.portlet.modules.actions.AbstractPortletPerform |
---|
AVAILABLE_WMC, CURRENT_WMC, CURRENT_WMC_NAME, INIT_MAPPORTLETID, INIT_WMC, PARAM_MAPACTION, PARAM_MAPPORTLET, PARAM_MODE, parameter, portlet, request, SESSION_CURRENTFILAYER, SESSION_HOME, SESSION_VIEWCONTEXT |
Constructor Summary | |
---|---|
WMCManagementPortletPerfom(javax.servlet.http.HttpServletRequest request,
org.apache.jetspeed.portal.Portlet portlet,
javax.servlet.ServletContext sc)
constructor |
Method Summary | |
---|---|
void |
buildNormalContext()
this method will be called each time a portlet will be repainted. |
(package private) void |
doLoadcontext()
Loads a context from a file pointed to by the request parameter "wmc_filename". |
(package private) void |
doLoadnamedcontext(java.lang.String userName)
Loads a context from a file pointed to by the request parameter "wmc_filename". |
(package private) void |
doSavecontext(java.lang.String userName)
Saves the current context as a user context to a file in "WEB-INF/wmc/$USER_DIR/$mapPortletID$_CURRENTWMC.xml". |
(package private) void |
doSavenamedcontext(java.lang.String userName)
Saves the current context as a user context to a file named by the user |
(package private) void |
doSaveshared(java.lang.String userName)
Saves the current context as a shared context to a file in "WEB-INF/wmc/shared". |
static java.util.List<WMCMetadataSurrogate> |
getSharedContextList()
|
Methods inherited from class org.deegree.portal.portlet.modules.actions.IGeoPortalPortletPerform |
---|
getCurrentMapContextName, getCurrentMapContextName, getCurrentViewContext, getCurrentViewContext, getNamedViewContext, getNamedViewContext, setBoundingBox, setBoundingBox, setBoundingBoxFromBBOXParam, setCurrentMapContext, setCurrentMapContext, setCurrentMapContextName, setCurrentMapContextName, setLayers, setMode, setNameContext, setNameContext, updateContext |
Methods inherited from class org.deegree.portal.portlet.modules.actions.AbstractPortletPerform |
---|
getInitParam, getMapPortletID, readMapContextID_ |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String TITLE
public static final java.lang.String DESCRIPTION
public static final java.lang.String KEYWORDS
public static final java.lang.String FILENAME
Constructor Detail |
---|
WMCManagementPortletPerfom(javax.servlet.http.HttpServletRequest request, org.apache.jetspeed.portal.Portlet portlet, javax.servlet.ServletContext sc)
request
- portlet
- sc
- Method Detail |
---|
void doSavecontext(java.lang.String userName) throws java.lang.Exception
userName
-
java.lang.Exception
void doSavenamedcontext(java.lang.String userName) throws java.lang.Exception
userName
-
java.lang.Exception
void doSaveshared(java.lang.String userName) throws java.lang.Exception
userName
-
java.lang.Exception
void doLoadcontext() throws java.lang.Exception
java.lang.Exception
void doLoadnamedcontext(java.lang.String userName) throws java.lang.Exception
userName
- name of the user who loads a context
java.lang.Exception
public static java.util.List<WMCMetadataSurrogate> getSharedContextList()
public void buildNormalContext() throws PortalException
AbstractPortletPerform
buildNormalContext
in class AbstractPortletPerform
PortalException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org