|
deegree 2.3 (2010/04/09 10:10 build-4-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 String |
DESCRIPTION
|
static String |
FILENAME
|
static String |
KEYWORDS
|
static 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(String userName)
Loads a context from a file pointed to by the request parameter "wmc_filename". |
(package private) void |
doSavecontext(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(String userName)
Saves the current context as a user context to a file named by the user |
(package private) void |
doSaveshared(String userName)
Saves the current context as a shared context to a file in "WEB-INF/wmc/shared". |
static 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 String TITLE
public static final String DESCRIPTION
public static final String KEYWORDS
public static final 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(String userName) throws Exception
userName
-
Exception
void doSavenamedcontext(String userName) throws Exception
userName
-
Exception
void doSaveshared(String userName) throws Exception
userName
-
Exception
void doLoadcontext() throws Exception
Exception
void doLoadnamedcontext(String userName) throws Exception
userName
- name of the user who loads a context
Exception
public static List<WMCMetadataSurrogate> getSharedContextList()
public void buildNormalContext() throws PortalException
AbstractPortletPerform
buildNormalContext
in class AbstractPortletPerform
PortalException
|
deegree 2.3 (2010/04/09 10:10 build-4-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