org.apache.jetspeed.container.state.impl
Class PortletWindowSessionNavigationalStates

java.lang.Object
  extended by org.apache.jetspeed.container.state.impl.PortletWindowSessionNavigationalStates
All Implemented Interfaces:
Serializable

public class PortletWindowSessionNavigationalStates
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
private static class PortletWindowSessionNavigationalStates.PageState
           
 
Field Summary
private  Map pageStates
           
private  boolean storeParameters
           
 
Constructor Summary
PortletWindowSessionNavigationalStates(boolean storeParameters)
           
 
Method Summary
 void changeAllPortletsToViewModeAndNormalWindowState(org.apache.jetspeed.request.RequestContext context, org.apache.jetspeed.om.page.Page page, PortletWindowRequestNavigationalStates requestStates, org.apache.jetspeed.cache.JetspeedContentCache cache, org.apache.jetspeed.cache.JetspeedContentCache decorationCache)
           
protected  boolean changedParameters(Map requestMap, Map sessionMap)
           
protected  Map getWindowStates(org.apache.jetspeed.om.page.Page page)
           
private  boolean modeChanged(javax.portlet.PortletMode req, javax.portlet.PortletMode ses)
           
protected  void removeFromCache(org.apache.jetspeed.request.RequestContext context, String id, org.apache.jetspeed.cache.JetspeedContentCache cache)
           
private  boolean stateChanged(javax.portlet.WindowState req, javax.portlet.WindowState ses)
           
 void sync(org.apache.jetspeed.request.RequestContext context, org.apache.jetspeed.om.page.Page page, PortletWindowRequestNavigationalStates requestStates, org.apache.jetspeed.cache.JetspeedContentCache cache, org.apache.jetspeed.cache.JetspeedContentCache decorationCache)
           
private  boolean syncStates(boolean actionRequestState, PortletWindowRequestNavigationalState requestState, PortletWindowBaseNavigationalState sessionState)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

storeParameters

private final boolean storeParameters

pageStates

private Map pageStates
Constructor Detail

PortletWindowSessionNavigationalStates

public PortletWindowSessionNavigationalStates(boolean storeParameters)
Method Detail

changeAllPortletsToViewModeAndNormalWindowState

public void changeAllPortletsToViewModeAndNormalWindowState(org.apache.jetspeed.request.RequestContext context,
                                                            org.apache.jetspeed.om.page.Page page,
                                                            PortletWindowRequestNavigationalStates requestStates,
                                                            org.apache.jetspeed.cache.JetspeedContentCache cache,
                                                            org.apache.jetspeed.cache.JetspeedContentCache decorationCache)

sync

public void sync(org.apache.jetspeed.request.RequestContext context,
                 org.apache.jetspeed.om.page.Page page,
                 PortletWindowRequestNavigationalStates requestStates,
                 org.apache.jetspeed.cache.JetspeedContentCache cache,
                 org.apache.jetspeed.cache.JetspeedContentCache decorationCache)

modeChanged

private boolean modeChanged(javax.portlet.PortletMode req,
                            javax.portlet.PortletMode ses)

stateChanged

private boolean stateChanged(javax.portlet.WindowState req,
                             javax.portlet.WindowState ses)

syncStates

private boolean syncStates(boolean actionRequestState,
                           PortletWindowRequestNavigationalState requestState,
                           PortletWindowBaseNavigationalState sessionState)

changedParameters

protected boolean changedParameters(Map requestMap,
                                    Map sessionMap)

removeFromCache

protected void removeFromCache(org.apache.jetspeed.request.RequestContext context,
                               String id,
                               org.apache.jetspeed.cache.JetspeedContentCache cache)

getWindowStates

protected Map getWindowStates(org.apache.jetspeed.om.page.Page page)


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.