public interface TMLPortletStateStorage
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. |
TMLPortletState getState(TMLPortlet portlet) throws de.innovationgate.webgate.api.WGAPIException
de.innovationgate.webgate.api.WGAPIException
void disposeState(java.lang.String appDb, java.lang.String portletKey) throws de.innovationgate.webgate.api.WGAPIException
appDb
- App id of the portlet, like given from the portlet registryportletKey
- Key of the portletde.innovationgate.webgate.api.WGAPIException
void disposeChildState(java.lang.String appDb, java.lang.String portletKey, java.lang.String childName) throws de.innovationgate.webgate.api.WGAPIException
appDb
- 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
boolean isStoreSessionVarsAtState()
TMLPortletState
object.
Otherwise they are stored at accompanying TMLFormProcessContext
objects on the server.