org.apache.jetspeed.container.state.impl
Class AbstractNavigationalState
java.lang.Object
org.apache.jetspeed.container.state.impl.AbstractNavigationalState
- All Implemented Interfaces:
- org.apache.jetspeed.container.state.MutableNavigationalState, org.apache.jetspeed.container.state.NavigationalState
- Direct Known Subclasses:
- PathNavigationalState, SessionNavigationalState
- public abstract class AbstractNavigationalState
- extends Object
- implements org.apache.jetspeed.container.state.MutableNavigationalState
BaseNavigationalState
- Version:
- $Id: AbstractNavigationalState.java 188606 2005-05-24 17:30:46Z ate $
- Author:
- David Sean Taylor
Fields inherited from interface org.apache.jetspeed.container.state.NavigationalState |
NAVSTATE_SESSION_KEY |
Method Summary |
String |
encode(org.apache.pluto.om.window.PortletWindow window,
Map parameters,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state,
boolean action)
|
String |
encode(org.apache.pluto.om.window.PortletWindow window,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state)
|
org.apache.pluto.om.window.PortletWindow |
getMaximizedWindow()
|
javax.portlet.PortletMode |
getMode(org.apache.pluto.om.window.PortletWindow window)
|
javax.portlet.PortletMode |
getMode(String windowId)
|
Iterator |
getParameterNames(org.apache.pluto.om.window.PortletWindow window)
|
String[] |
getParameterValues(org.apache.pluto.om.window.PortletWindow window,
String parameterName)
|
org.apache.pluto.om.window.PortletWindow |
getPortletWindowOfAction()
|
protected PortletWindowRequestNavigationalStates |
getPortletWindowRequestNavigationalStates()
|
javax.portlet.WindowState |
getState(org.apache.pluto.om.window.PortletWindow window)
|
javax.portlet.WindowState |
getState(String windowId)
|
Iterator |
getWindowIdIterator()
|
void |
init(String encodedState,
String characterEncoding)
|
void |
setMode(org.apache.pluto.om.window.PortletWindow window,
javax.portlet.PortletMode portletMode)
|
void |
setState(org.apache.pluto.om.window.PortletWindow window,
javax.portlet.WindowState windowState)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.jetspeed.container.state.NavigationalState |
isNavigationalParameterStateFull, isRenderParameterStateFull, sync |
codec
private NavigationalStateCodec codec
requestStates
private PortletWindowRequestNavigationalStates requestStates
AbstractNavigationalState
public AbstractNavigationalState(NavigationalStateCodec codec)
init
public void init(String encodedState,
String characterEncoding)
throws UnsupportedEncodingException
- Specified by:
init
in interface org.apache.jetspeed.container.state.NavigationalState
- Throws:
UnsupportedEncodingException
getPortletWindowRequestNavigationalStates
protected PortletWindowRequestNavigationalStates getPortletWindowRequestNavigationalStates()
setState
public void setState(org.apache.pluto.om.window.PortletWindow window,
javax.portlet.WindowState windowState)
- Specified by:
setState
in interface org.apache.jetspeed.container.state.MutableNavigationalState
setMode
public void setMode(org.apache.pluto.om.window.PortletWindow window,
javax.portlet.PortletMode portletMode)
- Specified by:
setMode
in interface org.apache.jetspeed.container.state.MutableNavigationalState
getState
public javax.portlet.WindowState getState(String windowId)
- Specified by:
getState
in interface org.apache.jetspeed.container.state.NavigationalState
getState
public javax.portlet.WindowState getState(org.apache.pluto.om.window.PortletWindow window)
- Specified by:
getState
in interface org.apache.jetspeed.container.state.NavigationalState
getMode
public javax.portlet.PortletMode getMode(String windowId)
- Specified by:
getMode
in interface org.apache.jetspeed.container.state.NavigationalState
getMode
public javax.portlet.PortletMode getMode(org.apache.pluto.om.window.PortletWindow window)
- Specified by:
getMode
in interface org.apache.jetspeed.container.state.NavigationalState
getMaximizedWindow
public org.apache.pluto.om.window.PortletWindow getMaximizedWindow()
- Specified by:
getMaximizedWindow
in interface org.apache.jetspeed.container.state.NavigationalState
getParameterNames
public Iterator getParameterNames(org.apache.pluto.om.window.PortletWindow window)
- Specified by:
getParameterNames
in interface org.apache.jetspeed.container.state.NavigationalState
getParameterValues
public String[] getParameterValues(org.apache.pluto.om.window.PortletWindow window,
String parameterName)
- Specified by:
getParameterValues
in interface org.apache.jetspeed.container.state.NavigationalState
getPortletWindowOfAction
public org.apache.pluto.om.window.PortletWindow getPortletWindowOfAction()
- Specified by:
getPortletWindowOfAction
in interface org.apache.jetspeed.container.state.NavigationalState
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
- Throws:
UnsupportedEncodingException
encode
public String encode(org.apache.pluto.om.window.PortletWindow window,
javax.portlet.PortletMode mode,
javax.portlet.WindowState state)
throws UnsupportedEncodingException
- Specified by:
encode
in interface org.apache.jetspeed.container.state.NavigationalState
- Throws:
UnsupportedEncodingException
getWindowIdIterator
public Iterator getWindowIdIterator()
- Specified by:
getWindowIdIterator
in interface org.apache.jetspeed.container.state.NavigationalState
Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.