Class PortletSessionImpl
- java.lang.Object
-
- org.gatein.pc.portlet.impl.jsr168.api.PortletSessionImpl
-
- All Implemented Interfaces:
javax.portlet.PortletSession
public class PortletSessionImpl extends Object implements javax.portlet.PortletSession
- Version:
- $Revision: 6697 $
- Author:
- Julien Viet
-
-
Constructor Summary
Constructors Constructor Description PortletSessionImpl(javax.servlet.http.HttpSession session, String id, javax.portlet.PortletContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAttribute(String s)ObjectgetAttribute(String s, int i)Map<String,Object>getAttributeMap()Map<String,Object>getAttributeMap(int i)Enumeration<String>getAttributeNames()Enumeration<String>getAttributeNames(int scope)longgetCreationTime()StringgetId()longgetLastAccessedTime()intgetMaxInactiveInterval()javax.portlet.PortletContextgetPortletContext()voidinvalidate()booleanisNew()voidremoveAttribute(String s)voidremoveAttribute(String s, int i)voidsetAttribute(String s, Object o)voidsetAttribute(String s, Object o, int i)voidsetMaxInactiveInterval(int i)
-
-
-
Constructor Detail
-
PortletSessionImpl
public PortletSessionImpl(javax.servlet.http.HttpSession session, String id, javax.portlet.PortletContext context)
-
-
Method Detail
-
getAttribute
public Object getAttribute(String s)
- Specified by:
getAttributein interfacejavax.portlet.PortletSession
-
getAttribute
public Object getAttribute(String s, int i)
- Specified by:
getAttributein interfacejavax.portlet.PortletSession
-
getAttributeNames
public Enumeration<String> getAttributeNames()
- Specified by:
getAttributeNamesin interfacejavax.portlet.PortletSession
-
getAttributeNames
public Enumeration<String> getAttributeNames(int scope)
- Specified by:
getAttributeNamesin interfacejavax.portlet.PortletSession
-
getCreationTime
public long getCreationTime()
- Specified by:
getCreationTimein interfacejavax.portlet.PortletSession
-
getId
public String getId()
- Specified by:
getIdin interfacejavax.portlet.PortletSession
-
getLastAccessedTime
public long getLastAccessedTime()
- Specified by:
getLastAccessedTimein interfacejavax.portlet.PortletSession
-
getMaxInactiveInterval
public int getMaxInactiveInterval()
- Specified by:
getMaxInactiveIntervalin interfacejavax.portlet.PortletSession
-
invalidate
public void invalidate()
- Specified by:
invalidatein interfacejavax.portlet.PortletSession
-
isNew
public boolean isNew()
- Specified by:
isNewin interfacejavax.portlet.PortletSession
-
removeAttribute
public void removeAttribute(String s)
- Specified by:
removeAttributein interfacejavax.portlet.PortletSession
-
removeAttribute
public void removeAttribute(String s, int i)
- Specified by:
removeAttributein interfacejavax.portlet.PortletSession
-
setAttribute
public void setAttribute(String s, Object o)
- Specified by:
setAttributein interfacejavax.portlet.PortletSession
-
setAttribute
public void setAttribute(String s, Object o, int i)
- Specified by:
setAttributein interfacejavax.portlet.PortletSession
-
setMaxInactiveInterval
public void setMaxInactiveInterval(int i)
- Specified by:
setMaxInactiveIntervalin interfacejavax.portlet.PortletSession
-
getPortletContext
public javax.portlet.PortletContext getPortletContext()
- Specified by:
getPortletContextin interfacejavax.portlet.PortletSession
-
getAttributeMap
public Map<String,Object> getAttributeMap()
- Specified by:
getAttributeMapin interfacejavax.portlet.PortletSession
-
-