public class PortletWebSession extends java.lang.Object implements org.apache.tapestry.web.WebSession
PortletSession
as a WebSession
.Constructor and Description |
---|
PortletWebSession(javax.portlet.PortletSession portletSession) |
Modifier and Type | Method and Description |
---|---|
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) |
public PortletWebSession(javax.portlet.PortletSession portletSession)
public void describeTo(org.apache.tapestry.describe.DescriptionReceiver receiver)
describeTo
in interface org.apache.tapestry.describe.Describable
public java.lang.String getId()
getId
in interface org.apache.tapestry.web.WebSession
public boolean isNew()
isNew
in interface org.apache.tapestry.web.WebSession
public java.util.List getAttributeNames()
getAttributeNames
in interface org.apache.tapestry.web.AttributeHolder
public java.lang.Object getAttribute(java.lang.String name)
getAttribute
in interface org.apache.tapestry.web.AttributeHolder
public void setAttribute(java.lang.String name, java.lang.Object attribute)
setAttribute
in interface org.apache.tapestry.web.AttributeHolder
public void invalidate()
invalidate
in interface org.apache.tapestry.web.WebSession