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 Details

    • StateControllerContextImpl

      public StateControllerContextImpl()
  • Method Details

    • updatePublicNavigationalState

      public void updatePublicNavigationalState(ControllerContext controller, PageNavigationalState page, String portletWindowId, Map<String,String[]> update)
      Description copied from interface: StateControllerContext

      Update 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:
      updatePublicNavigationalState in interface StateControllerContext
      Parameters:
      controller - the controller
      page - the page
      portletWindowId - the portlet window id
      update - the updates
    • getPublicWindowNavigationalState

      public Map<String,String[]> getPublicWindowNavigationalState(ControllerContext controller, PageNavigationalState page, String windowId)
      Description copied from interface: StateControllerContext
      Obtain 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:
      getPublicWindowNavigationalState in interface StateControllerContext
      Parameters:
      controller - the controller
      page - the page
      windowId - the portlet window id @return the portlet public navigational state