org.apache.tapestry.portlet
Class PortletWebSession

java.lang.Object
  extended byorg.apache.tapestry.portlet.PortletWebSession
All Implemented Interfaces:
org.apache.tapestry.web.AttributeHolder, org.apache.tapestry.describe.Describable, org.apache.tapestry.web.WebSession

public class PortletWebSession
extends java.lang.Object
implements org.apache.tapestry.web.WebSession

Adapts a PortletSessionas a WebSession.

Since:
4.0
Author:
Howard M. Lewis Ship

Constructor Summary
PortletWebSession(javax.portlet.PortletSession portletSession)
           
 
Method Summary
 void describeTo(org.apache.tapestry.describe.DescriptionReceiver receiver)
           
 java.lang.Object getAttribute(java.lang.String name)
           
 java.util.List getAttributeNames()
           
 java.lang.String getId()
           
 void invalidate()
           
 boolean isNew()
           
 void setAttribute(java.lang.String name, java.lang.Object attribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletWebSession

public PortletWebSession(javax.portlet.PortletSession portletSession)
Method Detail

describeTo

public void describeTo(org.apache.tapestry.describe.DescriptionReceiver receiver)
Specified by:
describeTo in interface org.apache.tapestry.describe.Describable

getId

public java.lang.String getId()
Specified by:
getId in interface org.apache.tapestry.web.WebSession

isNew

public boolean isNew()
Specified by:
isNew in interface org.apache.tapestry.web.WebSession

getAttributeNames

public java.util.List getAttributeNames()
Specified by:
getAttributeNames in interface org.apache.tapestry.web.AttributeHolder

getAttribute

public java.lang.Object getAttribute(java.lang.String name)
Specified by:
getAttribute in interface org.apache.tapestry.web.AttributeHolder

setAttribute

public void setAttribute(java.lang.String name,
                         java.lang.Object attribute)
Specified by:
setAttribute in interface org.apache.tapestry.web.AttributeHolder

invalidate

public void invalidate()
Specified by:
invalidate in interface org.apache.tapestry.web.WebSession