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

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

public class HybridNavigationalState
extends SessionNavigationalState

HybridNavigationalState Only encodes render parameters that start with a given prefix

Version:
$Id: AbstractNavigationalState.java 333093 2005-11-13 18:42:42Z taylor $
Author:
David Sean Taylor

Field Summary
protected  String prefix
           
 
Fields inherited from class org.apache.jetspeed.container.state.impl.SessionNavigationalState
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
HybridNavigationalState(NavigationalStateCodec codec, String prefix, org.apache.jetspeed.cache.JetspeedContentCache cache)
           
 
Method Summary
 String encode(org.apache.pluto.om.window.PortletWindow window, Map parameters, javax.portlet.PortletMode mode, javax.portlet.WindowState state, boolean action)
           
 boolean isNavigationalParameterStateFull()
           
 boolean isRenderParameterStateFull()
           
 
Methods inherited from class org.apache.jetspeed.container.state.impl.SessionNavigationalState
getCurrentPageWindowStates, isClearPortletsModeAndWindowStateEnabled, setClearPortletsModeAndWindowStateEnabled, sync
 
Methods inherited from class org.apache.jetspeed.container.state.impl.AbstractNavigationalState
clearParameters, 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

prefix

protected String prefix
Constructor Detail

HybridNavigationalState

public HybridNavigationalState(NavigationalStateCodec codec,
                               String prefix,
                               org.apache.jetspeed.cache.JetspeedContentCache cache)
Method Detail

encode

public String encode(org.apache.pluto.om.window.PortletWindow window,
                     Map parameters,
                     javax.portlet.PortletMode mode,
                     javax.portlet.WindowState state,
                     boolean action)
              throws UnsupportedEncodingException
Specified by:
encode in interface org.apache.jetspeed.container.state.NavigationalState
Overrides:
encode in class AbstractNavigationalState
Throws:
UnsupportedEncodingException

isNavigationalParameterStateFull

public boolean isNavigationalParameterStateFull()
Specified by:
isNavigationalParameterStateFull in interface org.apache.jetspeed.container.state.NavigationalState
Overrides:
isNavigationalParameterStateFull in class SessionNavigationalState

isRenderParameterStateFull

public boolean isRenderParameterStateFull()
Specified by:
isRenderParameterStateFull in interface org.apache.jetspeed.container.state.NavigationalState
Overrides:
isRenderParameterStateFull in class SessionNavigationalState


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