org.exoplatform.services.wsrp2.consumer.adapters
Class PortletWindowSessionAdapter

java.lang.Object
  extended by org.exoplatform.services.wsrp2.consumer.adapters.PortletWindowSessionAdapter
All Implemented Interfaces:
PortletWindowSession

public class PortletWindowSessionAdapter
extends Object
implements PortletWindowSession


Constructor Summary
PortletWindowSessionAdapter()
           
 
Method Summary
 org.exoplatform.services.wsrp2.type.MarkupContext getCachedMarkup()
          Get the markup context which has been cached.
 org.exoplatform.services.wsrp2.type.ResourceContext getCachedResource()
           
 String getInteractionState()
           
 org.exoplatform.services.wsrp2.type.MarkupContext getMarkupContext()
           
 String getNavigationalState()
           
 org.exoplatform.services.wsrp2.type.NamedString[] getNavigationalValues()
           
 PortletSession getPortletSession()
          Get the portlet session this window session belongs to.
 org.exoplatform.services.wsrp2.type.ResourceContext getResourceContext()
           
 String getResourceState()
           
 String getWindowID()
          Get the ID of the portlets window this session belongs to.
 void setInteractionState(String interactionState)
           
 void setMarkupContext(org.exoplatform.services.wsrp2.type.MarkupContext markupContext)
           
 void setNavigationalState(String navigationalState)
           
 void setNavigationalValues(org.exoplatform.services.wsrp2.type.NamedString[] navigationalValues)
           
 void setPortletSession(PortletSession portletSession)
           
 void setResourceContext(org.exoplatform.services.wsrp2.type.ResourceContext resourceContext)
           
 void setResourceState(String resourceState)
           
 void setWindowID(String windowID)
          Set the ID of the portlets window this sessions belongs to.
 void updateMarkupCache(org.exoplatform.services.wsrp2.type.MarkupContext markupContext)
          Update the cache which holds the markup context.
 void updateResourceCache(org.exoplatform.services.wsrp2.type.ResourceContext resourceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletWindowSessionAdapter

public PortletWindowSessionAdapter()
Method Detail

getWindowID

public String getWindowID()
Description copied from interface: PortletWindowSession
Get the ID of the portlets window this session belongs to.

Specified by:
getWindowID in interface PortletWindowSession
Returns:
The ID of the portlet window.

setWindowID

public void setWindowID(String windowID)
Description copied from interface: PortletWindowSession
Set the ID of the portlets window this sessions belongs to.

Specified by:
setWindowID in interface PortletWindowSession
Parameters:
windowID - The ID of the portlet window.

getCachedMarkup

public org.exoplatform.services.wsrp2.type.MarkupContext getCachedMarkup()
Description copied from interface: PortletWindowSession
Get the markup context which has been cached. This might be useful to retrieve the markup which was returned performBlockingInteraction calls in order to save an additional getMarkup call.

Specified by:
getCachedMarkup in interface PortletWindowSession
Returns:
The cached markup context or null in case the cache is empty.

updateMarkupCache

public void updateMarkupCache(org.exoplatform.services.wsrp2.type.MarkupContext markupContext)
Description copied from interface: PortletWindowSession
Update the cache which holds the markup context. This might be useful to store the markup which was returned by performBlockingInteraction calls in order to save an additional getMarkup call. Updateing the cache with a null value clears the markup cache.

Specified by:
updateMarkupCache in interface PortletWindowSession

getPortletSession

public PortletSession getPortletSession()
Description copied from interface: PortletWindowSession
Get the portlet session this window session belongs to.

Specified by:
getPortletSession in interface PortletWindowSession
Returns:
The PortletSession this window session belongs to.

setPortletSession

public void setPortletSession(PortletSession portletSession)

getMarkupContext

public org.exoplatform.services.wsrp2.type.MarkupContext getMarkupContext()

setMarkupContext

public void setMarkupContext(org.exoplatform.services.wsrp2.type.MarkupContext markupContext)

getNavigationalState

public String getNavigationalState()
Specified by:
getNavigationalState in interface PortletWindowSession

setNavigationalState

public void setNavigationalState(String navigationalState)
Specified by:
setNavigationalState in interface PortletWindowSession

getCachedResource

public org.exoplatform.services.wsrp2.type.ResourceContext getCachedResource()
Specified by:
getCachedResource in interface PortletWindowSession

updateResourceCache

public void updateResourceCache(org.exoplatform.services.wsrp2.type.ResourceContext resourceContext)
Specified by:
updateResourceCache in interface PortletWindowSession

getResourceContext

public org.exoplatform.services.wsrp2.type.ResourceContext getResourceContext()

setResourceContext

public void setResourceContext(org.exoplatform.services.wsrp2.type.ResourceContext resourceContext)

getNavigationalValues

public org.exoplatform.services.wsrp2.type.NamedString[] getNavigationalValues()
Specified by:
getNavigationalValues in interface PortletWindowSession

setNavigationalValues

public void setNavigationalValues(org.exoplatform.services.wsrp2.type.NamedString[] navigationalValues)
Specified by:
setNavigationalValues in interface PortletWindowSession

getInteractionState

public String getInteractionState()
Specified by:
getInteractionState in interface PortletWindowSession

setInteractionState

public void setInteractionState(String interactionState)
Specified by:
setInteractionState in interface PortletWindowSession

getResourceState

public String getResourceState()
Specified by:
getResourceState in interface PortletWindowSession

setResourceState

public void setResourceState(String resourceState)
Specified by:
setResourceState in interface PortletWindowSession


Copyright © 2009 eXo Platform SAS. All Rights Reserved.