|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.commons.map.AbstractMap
org.exoplatform.services.portletcontainer.plugins.pc.portletAPIImp.PortletSessionImp
public class PortletSessionImp
Created by The eXo Platform SAS. Author : Mestrallet Benjamin benjmestrallet@users.sourceforge.net Date: Jul 26, 2003 Time: 4:30:52 PM
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Field Summary | |
|---|---|
protected org.exoplatform.container.ExoContainer |
cont
Exo container. |
| Fields inherited from interface javax.portlet.PortletSession |
|---|
APPLICATION_SCOPE, PORTLET_SCOPE |
| Constructor Summary | |
|---|---|
PortletSessionImp(org.exoplatform.container.ExoContainer cont,
javax.servlet.http.HttpSession session,
javax.portlet.PortletContext context,
String windowId)
|
|
| Method Summary | |
|---|---|
Object |
getAttribute(String name)
Overridden method. |
Object |
getAttribute(String name,
int scope)
Overridden method. |
Map |
getAttributeMap()
Overridden method. |
Map |
getAttributeMap(int scope)
Overridden method. |
Enumeration<String> |
getAttributeNames()
Overridden method. |
Enumeration<String> |
getAttributeNames(int scope)
Overridden method. |
long |
getCreationTime()
Overridden method. |
String |
getId()
Overridden method. |
long |
getLastAccessedTime()
Overridden method. |
int |
getMaxInactiveInterval()
Overridden method. |
javax.portlet.PortletContext |
getPortletContext()
Overridden method. |
javax.servlet.http.HttpSession |
getSession()
|
void |
invalidate()
Overridden method. |
boolean |
isNew()
Overridden method. |
boolean |
isSessionValid()
|
void |
removeAttribute(String name)
Overridden method. |
void |
removeAttribute(String name,
int scope)
Overridden method. |
void |
setAttribute(String name,
Object o)
Overridden method. |
void |
setAttribute(String name,
Object o,
int scope)
Overridden method. |
void |
setMaxInactiveInterval(int i)
Overridden method. |
void |
setSession(javax.servlet.http.HttpSession session,
String windowId)
|
| Methods inherited from class org.exoplatform.commons.map.AbstractMap |
|---|
clear, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, toString, values |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
|---|
equals, hashCode |
| Field Detail |
|---|
protected org.exoplatform.container.ExoContainer cont
| Constructor Detail |
|---|
public PortletSessionImp(org.exoplatform.container.ExoContainer cont,
javax.servlet.http.HttpSession session,
javax.portlet.PortletContext context,
String windowId)
cont - exo containersession - http sessioncontext - portlet contextwindowId - window id| Method Detail |
|---|
public final Object getAttribute(String name)
getAttribute in interface javax.portlet.PortletSessiongetAttribute in class org.exoplatform.commons.map.AbstractMapname - name
AbstractMap.getAttribute(java.lang.String)
public final Object getAttribute(String name,
int scope)
getAttribute in interface javax.portlet.PortletSessionname - namescope - scope
PortletSession.getAttribute(java.lang.String, int)public final void removeAttribute(String name)
removeAttribute in interface javax.portlet.PortletSessionremoveAttribute in class org.exoplatform.commons.map.AbstractMapname - nameAbstractMap.removeAttribute(java.lang.String)
public final void removeAttribute(String name,
int scope)
removeAttribute in interface javax.portlet.PortletSessionname - namescope - scopePortletSession.removeAttribute(java.lang.String, int)
public final void setAttribute(String name,
Object o)
setAttribute in interface javax.portlet.PortletSessionsetAttribute in class org.exoplatform.commons.map.AbstractMapname - nameo - valueAbstractMap.setAttribute(java.lang.String, java.lang.Object)
public final void setAttribute(String name,
Object o,
int scope)
setAttribute in interface javax.portlet.PortletSessionname - nameo - valuescope - scopePortletSession.setAttribute(java.lang.String, java.lang.Object, int)public final Enumeration<String> getAttributeNames()
getAttributeNames in interface javax.portlet.PortletSessiongetAttributeNames in class org.exoplatform.commons.map.AbstractMapAbstractMap.getAttributeNames()public final Enumeration<String> getAttributeNames(int scope)
getAttributeNames in interface javax.portlet.PortletSessionscope - scope
PortletSession.getAttributeNames(int)public final Map getAttributeMap()
getAttributeMap in interface javax.portlet.PortletSessionPortletSession.getAttributeMap()public final Map getAttributeMap(int scope)
getAttributeMap in interface javax.portlet.PortletSessionscope - scope
PortletSession.getAttributeMap(int)public final long getCreationTime()
getCreationTime in interface javax.portlet.PortletSessionPortletSession.getCreationTime()public final String getId()
getId in interface javax.portlet.PortletSessionPortletSession.getId()public final long getLastAccessedTime()
getLastAccessedTime in interface javax.portlet.PortletSessionPortletSession.getLastAccessedTime()public final int getMaxInactiveInterval()
getMaxInactiveInterval in interface javax.portlet.PortletSessionPortletSession.getMaxInactiveInterval()public final void invalidate()
invalidate in interface javax.portlet.PortletSessionPortletSession.invalidate()public final boolean isSessionValid()
public final boolean isNew()
isNew in interface javax.portlet.PortletSessionPortletSession.isNew()public final void setMaxInactiveInterval(int i)
setMaxInactiveInterval in interface javax.portlet.PortletSessioni - max inactive intervalPortletSession.setMaxInactiveInterval(int)public final javax.portlet.PortletContext getPortletContext()
getPortletContext in interface javax.portlet.PortletSessionPortletSession.getPortletContext()public final javax.servlet.http.HttpSession getSession()
public final void setSession(javax.servlet.http.HttpSession session,
String windowId)
session - sessionwindowId - window id
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||