org.apache.pluto.core.impl
Class PortletSessionImpl
java.lang.Object
org.apache.pluto.core.impl.PortletSessionImpl
public class PortletSessionImpl
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SCOPE
private final int DEFAULT_SCOPE
httpSession
private javax.servlet.http.HttpSession httpSession
portletContext
private PortletContext portletContext
portletWindow
private PortletWindow portletWindow
PortletSessionImpl
public PortletSessionImpl(PortletWindow portletWindow,
javax.servlet.http.HttpSession httpSession)
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
getAttributeNames
public java.util.Enumeration getAttributeNames()
getCreationTime
public long getCreationTime()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
getId
public java.lang.String getId()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
getLastAccessedTime
public long getLastAccessedTime()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
getMaxInactiveInterval
public int getMaxInactiveInterval()
invalidate
public void invalidate()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
isNew
public boolean isNew()
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
removeAttribute
public void removeAttribute(java.lang.String name)
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval)
getAttribute
public java.lang.Object getAttribute(java.lang.String name,
int scope)
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
getAttributeNames
public java.util.Enumeration getAttributeNames(int scope)
removeAttribute
public void removeAttribute(java.lang.String name,
int scope)
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value,
int scope)
throws java.lang.IllegalStateException
- Throws:
java.lang.IllegalStateException
getPortletContext
public PortletContext getPortletContext()
getServletContext
public javax.servlet.ServletContext getServletContext()
getSessionContext
public javax.servlet.http.HttpSessionContext getSessionContext()
- Deprecated. As of Java(tm) Servlet API 2.1 for security reasons,
with no replacement. This interface will be removed
in a future version of this API.
getValue
public java.lang.Object getValue(java.lang.String name)
getValueNames
public java.lang.String[] getValueNames()
putValue
public void putValue(java.lang.String name,
java.lang.Object value)
removeValue
public void removeValue(java.lang.String name)
getInternalPortletContext
private PortletContext getInternalPortletContext()