Class StateControllerContextImpl
- java.lang.Object
-
- org.gatein.pc.controller.impl.state.StateControllerContextImpl
-
- All Implemented Interfaces:
StateControllerContext
public class StateControllerContextImpl extends Object implements StateControllerContext
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description StateControllerContextImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String[]>getPublicWindowNavigationalState(ControllerContext controller, PageNavigationalState page, String windowId)Obtain the public navigational state of a portlet window.voidupdatePublicNavigationalState(ControllerContext controller, PageNavigationalState page, String portletWindowId, Map<String,String[]> update)Update the public navigational state of a portlet window.
-
-
-
Method Detail
-
updatePublicNavigationalState
public void updatePublicNavigationalState(ControllerContext controller, PageNavigationalState page, String portletWindowId, Map<String,String[]> update)
Description copied from interface:StateControllerContextUpdate the public navigational state of a portlet window. The interpretation of what should be updated is left up to the implementor. An example of implementation would use the mapping between qname and name provided by the referenced portlet info.
The update argument values with a length of zero should be treated as removals.
- Specified by:
updatePublicNavigationalStatein interfaceStateControllerContext- Parameters:
controller- the controllerpage- the pageportletWindowId- the portlet window idupdate- the updates
-
getPublicWindowNavigationalState
public Map<String,String[]> getPublicWindowNavigationalState(ControllerContext controller, PageNavigationalState page, String windowId)
Description copied from interface:StateControllerContextObtain the public navigational state of a portlet window. The interpretation of what should be retrieved is left up to the implementor. An example of implementation would use the mapping between qnames and name provided by the referenced portlet info.- Specified by:
getPublicWindowNavigationalStatein interfaceStateControllerContext- Parameters:
controller- the controllerpage- the pagewindowId- the portlet window id @return the portlet public navigational state
-
-