public class TMLPortletStateSessionStorage extends java.lang.Object implements TMLPortletStateStorage
| Constructor and Description |
|---|
TMLPortletStateSessionStorage(javax.servlet.http.HttpSession ses) |
| Modifier and Type | Method and Description |
|---|---|
void |
disposeChildState(java.lang.String appDb,
java.lang.String portletKey,
java.lang.String childName)
Removes the state of a child portlet of addressed portlet from the storage, based on its name.
|
void |
disposeState(java.lang.String appDb,
java.lang.String portletKey)
Removes the state of the addressed portlet from the storage
|
TMLPortletState |
getState(TMLPortlet portlet)
Retrieves the state for the given portlet
|
boolean |
isStoreSessionVarsAtState()
Returns if portlet states in this storage should store their session vars at the
TMLPortletState object. |
public TMLPortletStateSessionStorage(javax.servlet.http.HttpSession ses)
public TMLPortletState getState(TMLPortlet portlet) throws de.innovationgate.webgate.api.WGAPIException
TMLPortletStateStoragegetState in interface TMLPortletStateStoragede.innovationgate.webgate.api.WGAPIExceptionpublic void disposeState(java.lang.String appDb,
java.lang.String portletKey)
TMLPortletStateStoragedisposeState in interface TMLPortletStateStorageappDb - App id of the portlet, like given from the portlet registryportletKey - Key of the portletpublic boolean isStoreSessionVarsAtState()
TMLPortletStateStorageTMLPortletState object.
Otherwise they are stored at accompanying TMLFormProcessContext objects on the server.isStoreSessionVarsAtState in interface TMLPortletStateStoragepublic void disposeChildState(java.lang.String appDb,
java.lang.String portletKey,
java.lang.String childName)
throws de.innovationgate.webgate.api.WGAPIException
TMLPortletStateStoragedisposeChildState in interface TMLPortletStateStorageappDb - App id of the portlet, like given from the portlet registryportletKey - Key of the parent portletchildName - Name of the child portlet whose state is to be droppedde.innovationgate.webgate.api.WGAPIException