org.jboss.portal.portlet.impl
Class PortletSessionImpl

java.lang.Object
  extended by org.jboss.portal.portlet.impl.PortletSessionImpl
All Implemented Interfaces:
PortletSession

public class PortletSessionImpl
extends java.lang.Object
implements PortletSession


Field Summary
 
Fields inherited from interface javax.portlet.PortletSession
APPLICATION_SCOPE, PORTLET_SCOPE
 
Constructor Summary
PortletSessionImpl(javax.servlet.http.HttpSession session, java.lang.String id, PortletContext context)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String s)
           
 java.lang.Object getAttribute(java.lang.String s, int i)
           
 java.util.Enumeration getAttributeNames()
           
 java.util.Enumeration getAttributeNames(int scope)
           
 long getCreationTime()
           
 java.lang.String getId()
           
 long getLastAccessedTime()
           
 int getMaxInactiveInterval()
           
 PortletContext getPortletContext()
           
 void invalidate()
           
 boolean isNew()
           
 void removeAttribute(java.lang.String s)
           
 void removeAttribute(java.lang.String s, int i)
           
 void setAttribute(java.lang.String s, java.lang.Object o)
           
 void setAttribute(java.lang.String s, java.lang.Object o, int i)
           
 void setMaxInactiveInterval(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletSessionImpl

public PortletSessionImpl(javax.servlet.http.HttpSession session,
                          java.lang.String id,
                          PortletContext context)
Method Detail

getAttribute

public java.lang.Object getAttribute(java.lang.String s)
Specified by:
getAttribute in interface PortletSession

getAttribute

public java.lang.Object getAttribute(java.lang.String s,
                                     int i)
Specified by:
getAttribute in interface PortletSession

getAttributeNames

public java.util.Enumeration getAttributeNames()
Specified by:
getAttributeNames in interface PortletSession

getAttributeNames

public java.util.Enumeration getAttributeNames(int scope)
Specified by:
getAttributeNames in interface PortletSession

getCreationTime

public long getCreationTime()
Specified by:
getCreationTime in interface PortletSession

getId

public java.lang.String getId()
Specified by:
getId in interface PortletSession

getLastAccessedTime

public long getLastAccessedTime()
Specified by:
getLastAccessedTime in interface PortletSession

getMaxInactiveInterval

public int getMaxInactiveInterval()
Specified by:
getMaxInactiveInterval in interface PortletSession

invalidate

public void invalidate()
Specified by:
invalidate in interface PortletSession

isNew

public boolean isNew()
Specified by:
isNew in interface PortletSession

removeAttribute

public void removeAttribute(java.lang.String s)
Specified by:
removeAttribute in interface PortletSession

removeAttribute

public void removeAttribute(java.lang.String s,
                            int i)
Specified by:
removeAttribute in interface PortletSession

setAttribute

public void setAttribute(java.lang.String s,
                         java.lang.Object o)
Specified by:
setAttribute in interface PortletSession

setAttribute

public void setAttribute(java.lang.String s,
                         java.lang.Object o,
                         int i)
Specified by:
setAttribute in interface PortletSession

setMaxInactiveInterval

public void setMaxInactiveInterval(int i)
Specified by:
setMaxInactiveInterval in interface PortletSession

getPortletContext

public PortletContext getPortletContext()
Specified by:
getPortletContext in interface PortletSession