Class PortletServletSession
java.lang.Object
com.webmethods.caf.faces.context.inproc.InprocServletSession
com.webmethods.caf.faces.portlet.servlet.PortletServletSession
- All Implemented Interfaces:
HttpSession
Wraps a PortletSession with an HttpSession.
-
Field Summary
FieldsFields inherited from class com.webmethods.caf.faces.context.inproc.InprocServletSession
m_attributes, m_creationTime, m_id, m_servletContext
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute
(String name) long
getId()
long
int
javax.portlet.PortletSession
void
boolean
isNew()
void
release()
void
removeAttribute
(String name) void
setAttribute
(String name, Object value) void
setMaxInactiveInterval
(int ms) void
setPortletSession
(javax.portlet.PortletSession portletSession) Methods inherited from class com.webmethods.caf.faces.context.inproc.InprocServletSession
getAttributes, getSessionContext, getValue, getValueNames, putValue, removeValue, setAttributes, setId, setServletContext
-
Field Details
-
m_portletSession
protected javax.portlet.PortletSession m_portletSession
-
-
Constructor Details
-
PortletServletSession
public PortletServletSession() -
PortletServletSession
public PortletServletSession(javax.portlet.PortletSession session)
-
-
Method Details
-
release
public void release()- Overrides:
release
in classInprocServletSession
-
getAttribute
- Specified by:
getAttribute
in interfaceHttpSession
- Overrides:
getAttribute
in classInprocServletSession
-
getAttributeNames
- Specified by:
getAttributeNames
in interfaceHttpSession
- Overrides:
getAttributeNames
in classInprocServletSession
-
getCreationTime
public long getCreationTime()- Specified by:
getCreationTime
in interfaceHttpSession
- Overrides:
getCreationTime
in classInprocServletSession
-
getId
- Specified by:
getId
in interfaceHttpSession
- Overrides:
getId
in classInprocServletSession
-
getLastAccessedTime
public long getLastAccessedTime()- Specified by:
getLastAccessedTime
in interfaceHttpSession
- Overrides:
getLastAccessedTime
in classInprocServletSession
-
getMaxInactiveInterval
public int getMaxInactiveInterval()- Specified by:
getMaxInactiveInterval
in interfaceHttpSession
- Overrides:
getMaxInactiveInterval
in classInprocServletSession
-
getServletContext
- Specified by:
getServletContext
in interfaceHttpSession
- Overrides:
getServletContext
in classInprocServletSession
-
invalidate
public void invalidate()- Specified by:
invalidate
in interfaceHttpSession
- Overrides:
invalidate
in classInprocServletSession
-
isNew
public boolean isNew()- Specified by:
isNew
in interfaceHttpSession
- Overrides:
isNew
in classInprocServletSession
-
removeAttribute
- Specified by:
removeAttribute
in interfaceHttpSession
- Overrides:
removeAttribute
in classInprocServletSession
-
setAttribute
- Specified by:
setAttribute
in interfaceHttpSession
- Overrides:
setAttribute
in classInprocServletSession
-
setMaxInactiveInterval
public void setMaxInactiveInterval(int ms) - Specified by:
setMaxInactiveInterval
in interfaceHttpSession
- Overrides:
setMaxInactiveInterval
in classInprocServletSession
-
getPortletSession
public javax.portlet.PortletSession getPortletSession() -
setPortletSession
public void setPortletSession(javax.portlet.PortletSession portletSession)
-