org.apache.cocoon.portal.wsrp.consumer
Class SimplePortletWindowSessionImpl

java.lang.Object
  extended byorg.apache.wsrp4j.consumer.driver.GenericPortletWindowSessionImpl
      extended byorg.apache.cocoon.portal.wsrp.consumer.SimplePortletWindowSessionImpl
All Implemented Interfaces:
org.apache.wsrp4j.consumer.PortletWindowSession, SimplePortletWindowSession

public class SimplePortletWindowSessionImpl
extends org.apache.wsrp4j.consumer.driver.GenericPortletWindowSessionImpl
implements SimplePortletWindowSession

Holds the parameters for displaying the portlet in a portlet-window.
The attributes windowState, portletMode and the navigationalState are representing all preferences of the portlet-window.

Version:
$Id: SimplePortletWindowSessionImpl.java 322475 2005-10-16 14:26:44Z cziegeler $

Constructor Summary
SimplePortletWindowSessionImpl(String windowID, org.apache.wsrp4j.consumer.PortletSession pSession)
          Constructor
 
Method Summary
 String getMode()
          Get the portlet mode
 String getNavigationalState()
          Get the navigational state for the portlet window the session belongs to
 String getWindowState()
          Get the window state of the portlet window this session belongs to
 void setMode(String mode)
          Set the portlet mode
 void setNavigationalState(String navState)
          Set the navigational state for the portlet window the session belongs to
 void setWindowState(String windowState)
          Set the window state of the portlet instance this session belongs to
 
Methods inherited from class org.apache.wsrp4j.consumer.driver.GenericPortletWindowSessionImpl
getCachedMarkup, getPortletSession, getWindowID, setWindowID, updateMarkupCache
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.wsrp4j.consumer.PortletWindowSession
getCachedMarkup, getPortletSession, getWindowID, setWindowID, updateMarkupCache
 

Constructor Detail

SimplePortletWindowSessionImpl

public SimplePortletWindowSessionImpl(String windowID,
                                      org.apache.wsrp4j.consumer.PortletSession pSession)
Constructor

Parameters:
windowID -
pSession -
Method Detail

getWindowState

public String getWindowState()
Get the window state of the portlet window this session belongs to

Specified by:
getWindowState in interface SimplePortletWindowSession
Returns:
the window state

getMode

public String getMode()
Get the portlet mode

Specified by:
getMode in interface SimplePortletWindowSession
Returns:
The portlet mode of the portlet window.

setWindowState

public void setWindowState(String windowState)
Set the window state of the portlet instance this session belongs to

Specified by:
setWindowState in interface SimplePortletWindowSession
Parameters:
windowState - The window state of the portlet window

setMode

public void setMode(String mode)
Set the portlet mode

Specified by:
setMode in interface SimplePortletWindowSession
Parameters:
mode - The portlet mode of the portlet window

getNavigationalState

public String getNavigationalState()
Description copied from interface: SimplePortletWindowSession
Get the navigational state for the portlet window the session belongs to

Specified by:
getNavigationalState in interface SimplePortletWindowSession
Returns:
the navigational state
See Also:
SimplePortletWindowSession.getNavigationalState()

setNavigationalState

public void setNavigationalState(String navState)
Description copied from interface: SimplePortletWindowSession
Set the navigational state for the portlet window the session belongs to

Specified by:
setNavigationalState in interface SimplePortletWindowSession
Parameters:
navState - the navigational state
See Also:
SimplePortletWindowSession.setNavigationalState(java.lang.String)


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.