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

java.lang.Object
  extended by org.apache.jetspeed.container.state.impl.AbstractNavigationalState
      extended by org.apache.jetspeed.container.state.impl.SessionNavigationalState
All Implemented Interfaces:
org.apache.jetspeed.container.state.MutableNavigationalState, org.apache.jetspeed.container.state.NavigationalState
Direct Known Subclasses:
HybridNavigationalState, SessionFullNavigationalState

public class SessionNavigationalState
extends AbstractNavigationalState

SessionNavigationalState, stores nav parameters in the session, not on URL

Added the ability to reset portlet mode and window states to VIEW and NORMAL in the case of page navigation. JS2-806

Version:
$Id: SessionNavigationalState.java 593807 2007-11-10 19:22:03Z taylor $
Author:
David Sean Taylor

Field Summary
private  boolean clearPortletsModeAndWindowStateEnabled
           
private  Map currentPageWindowStates
           
protected  org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.jetspeed.container.state.impl.AbstractNavigationalState
cache, decorationCache
 
Fields inherited from interface org.apache.jetspeed.container.state.NavigationalState
NAVSTATE_SESSION_KEY
 
Constructor Summary
SessionNavigationalState(NavigationalStateCodec codec, org.apache.jetspeed.cache.JetspeedContentCache cache)
           
SessionNavigationalState(NavigationalStateCodec codec, org.apache.jetspeed.cache.JetspeedContentCache cache, org.apache.jetspeed.cache.JetspeedContentCache decorationCache)
           
 
Method Summary
 Map getCurrentPageWindowStates()
           
protected  boolean isClearPortletsModeAndWindowStateEnabled()
           
 boolean isNavigationalParameterStateFull()
           
 boolean isRenderParameterStateFull()
           
protected  void setClearPortletsModeAndWindowStateEnabled(boolean clearPortletsModeAndWindowStateEnabled)
           
 void sync(org.apache.jetspeed.request.RequestContext context)
           
 
Methods inherited from class org.apache.jetspeed.container.state.impl.AbstractNavigationalState
clearParameters, encode, encode, encode, getMappedMode, getMappedMode, getMappedState, getMappedState, getMaximizedWindow, getMode, getMode, getParameterNames, getParameterValues, getPortletWindowOfAction, getPortletWindowOfResource, getPortletWindowRequestNavigationalStates, getState, getState, getWindowIdIterator, init, removeState, setMode, setState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected final org.apache.commons.logging.Log log

currentPageWindowStates

private Map currentPageWindowStates

clearPortletsModeAndWindowStateEnabled

private boolean clearPortletsModeAndWindowStateEnabled
Constructor Detail

SessionNavigationalState

public SessionNavigationalState(NavigationalStateCodec codec,
                                org.apache.jetspeed.cache.JetspeedContentCache cache)

SessionNavigationalState

public SessionNavigationalState(NavigationalStateCodec codec,
                                org.apache.jetspeed.cache.JetspeedContentCache cache,
                                org.apache.jetspeed.cache.JetspeedContentCache decorationCache)
Method Detail

sync

public void sync(org.apache.jetspeed.request.RequestContext context)

getCurrentPageWindowStates

public Map getCurrentPageWindowStates()

isNavigationalParameterStateFull

public boolean isNavigationalParameterStateFull()

isRenderParameterStateFull

public boolean isRenderParameterStateFull()

setClearPortletsModeAndWindowStateEnabled

protected void setClearPortletsModeAndWindowStateEnabled(boolean clearPortletsModeAndWindowStateEnabled)

isClearPortletsModeAndWindowStateEnabled

protected boolean isClearPortletsModeAndWindowStateEnabled()


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