org.apache.tapestry.portlet
Class PortletWebSession
java.lang.Object
org.apache.tapestry.portlet.PortletWebSession
- All Implemented Interfaces:
- org.apache.tapestry.describe.Describable, org.apache.tapestry.web.AttributeHolder, 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PortletWebSession
public PortletWebSession(javax.portlet.PortletSession portletSession)
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