org.apache.jetspeed.container.state.impl
Class SessionNavigationalState
java.lang.Object
org.apache.jetspeed.container.state.impl.AbstractNavigationalState
org.apache.jetspeed.container.state.impl.SessionNavigationalState
- All Implemented Interfaces:
- MutableNavigationalState, 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 |
protected org.apache.commons.logging.Log |
log
|
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 |
log
protected final org.apache.commons.logging.Log log
SessionNavigationalState
public SessionNavigationalState(NavigationalStateCodec codec,
JetspeedContentCache cache)
SessionNavigationalState
public SessionNavigationalState(NavigationalStateCodec codec,
JetspeedContentCache cache,
JetspeedContentCache decorationCache)
sync
public void sync(RequestContext context)
- Description copied from interface:
NavigationalState
- Synchronize the Navigational State with saved state (if used).
Should be called by the PortalURL impl right after calling #init(String)
- Parameters:
context
- The RequestContext for this Navigational State
getCurrentPageWindowStates
public java.util.Map getCurrentPageWindowStates()
isNavigationalParameterStateFull
public boolean isNavigationalParameterStateFull()
- Returns:
- true if WindowStates and PortletModes will be saved in the Session
isRenderParameterStateFull
public boolean isRenderParameterStateFull()
- Returns:
- true if render parameters will be saved in the Session
setClearPortletsModeAndWindowStateEnabled
protected void setClearPortletsModeAndWindowStateEnabled(boolean clearPortletsModeAndWindowStateEnabled)
isClearPortletsModeAndWindowStateEnabled
protected boolean isClearPortletsModeAndWindowStateEnabled()
Copyright © 1999-2009 Apache Software Foundation. All Rights Reserved.