public class PortletSessionImpl extends Object implements javax.portlet.PortletSession
| Constructor and Description |
|---|
PortletSessionImpl(javax.servlet.http.HttpSession session,
String id,
javax.portlet.PortletContext context) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String s) |
Object |
getAttribute(String s,
int i) |
Map<String,Object> |
getAttributeMap() |
Map<String,Object> |
getAttributeMap(int i) |
Enumeration<String> |
getAttributeNames() |
Enumeration<String> |
getAttributeNames(int scope) |
long |
getCreationTime() |
String |
getId() |
long |
getLastAccessedTime() |
int |
getMaxInactiveInterval() |
javax.portlet.PortletContext |
getPortletContext() |
void |
invalidate() |
boolean |
isNew() |
void |
removeAttribute(String s) |
void |
removeAttribute(String s,
int i) |
void |
setAttribute(String s,
Object o) |
void |
setAttribute(String s,
Object o,
int i) |
void |
setMaxInactiveInterval(int i) |
public PortletSessionImpl(javax.servlet.http.HttpSession session,
String id,
javax.portlet.PortletContext context)
public Object getAttribute(String s)
getAttribute in interface javax.portlet.PortletSessionpublic Object getAttribute(String s, int i)
getAttribute in interface javax.portlet.PortletSessionpublic Enumeration<String> getAttributeNames()
getAttributeNames in interface javax.portlet.PortletSessionpublic Enumeration<String> getAttributeNames(int scope)
getAttributeNames in interface javax.portlet.PortletSessionpublic long getCreationTime()
getCreationTime in interface javax.portlet.PortletSessionpublic String getId()
getId in interface javax.portlet.PortletSessionpublic long getLastAccessedTime()
getLastAccessedTime in interface javax.portlet.PortletSessionpublic int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.portlet.PortletSessionpublic void invalidate()
invalidate in interface javax.portlet.PortletSessionpublic boolean isNew()
isNew in interface javax.portlet.PortletSessionpublic void removeAttribute(String s)
removeAttribute in interface javax.portlet.PortletSessionpublic void removeAttribute(String s, int i)
removeAttribute in interface javax.portlet.PortletSessionpublic void setAttribute(String s, Object o)
setAttribute in interface javax.portlet.PortletSessionpublic void setAttribute(String s, Object o, int i)
setAttribute in interface javax.portlet.PortletSessionpublic void setMaxInactiveInterval(int i)
setMaxInactiveInterval in interface javax.portlet.PortletSessionpublic javax.portlet.PortletContext getPortletContext()
getPortletContext in interface javax.portlet.PortletSessionpublic Map<String,Object> getAttributeMap()
getAttributeMap in interface javax.portlet.PortletSessionCopyright © 2003-2021 GateIn. All Rights Reserved.