Package com.liferay.portlet.internal
Class PortletSessionImpl
java.lang.Object
com.liferay.portlet.internal.PortletSessionImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletSession,javax.portlet.PortletSession
public class PortletSessionImpl
extends Object
implements com.liferay.portal.kernel.portlet.LiferayPortletSession
- Author:
- Brian Wing Shun Chan, Shuyang Zhou
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected javax.servlet.http.HttpSessionprotected final javax.portlet.PortletContextprotected final StringFields inherited from interface com.liferay.portal.kernel.portlet.LiferayPortletSession
LAYOUT_SEPARATOR, PORTLET_SCOPE_NAMESPACEFields inherited from interface javax.portlet.PortletSession
APPLICATION_SCOPE, PORTLET_SCOPE -
Constructor Summary
ConstructorsConstructorDescriptionPortletSessionImpl(javax.servlet.http.HttpSession httpSession, javax.portlet.PortletContext portletContext, String portletName, long plid) -
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) getAttribute(String name, int scope) getAttributeMap(int scope) getAttributeNames(int scope) longjavax.servlet.http.HttpSessiongetId()longintjavax.portlet.PortletContextvoidbooleanbooleanisNew()voidremoveAttribute(String name) voidremoveAttribute(String name, int scope) voidsetAttribute(String name, Object value) voidsetAttribute(String name, Object value, int scope) voidsetHttpSession(javax.servlet.http.HttpSession httpSession) voidsetMaxInactiveInterval(int interval)
-
Field Details
-
httpSession
protected javax.servlet.http.HttpSession httpSession -
portletContext
protected final javax.portlet.PortletContext portletContext -
scopePrefix
-
-
Constructor Details
-
PortletSessionImpl
public PortletSessionImpl(javax.servlet.http.HttpSession httpSession, javax.portlet.PortletContext portletContext, String portletName, long plid)
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein interfacejavax.portlet.PortletSession
-
getAttribute
- Specified by:
getAttributein interfacejavax.portlet.PortletSession
-
getAttributeMap
- Specified by:
getAttributeMapin interfacejavax.portlet.PortletSession
-
getAttributeMap
- Specified by:
getAttributeMapin interfacejavax.portlet.PortletSession
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacejavax.portlet.PortletSession
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacejavax.portlet.PortletSession
-
getCreationTime
public long getCreationTime()- Specified by:
getCreationTimein interfacejavax.portlet.PortletSession
-
getHttpSession
public javax.servlet.http.HttpSession getHttpSession() -
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
-
getPortletContext
public javax.portlet.PortletContext getPortletContext()- Specified by:
getPortletContextin interfacejavax.portlet.PortletSession
-
invalidate
public void invalidate()- Specified by:
invalidatein interfacejavax.portlet.PortletSession
-
isInvalidated
public boolean isInvalidated() -
isNew
public boolean isNew()- Specified by:
isNewin interfacejavax.portlet.PortletSession
-
removeAttribute
- Specified by:
removeAttributein interfacejavax.portlet.PortletSession
-
removeAttribute
- Specified by:
removeAttributein interfacejavax.portlet.PortletSession
-
setAttribute
- Specified by:
setAttributein interfacejavax.portlet.PortletSession
-
setAttribute
- Specified by:
setAttributein interfacejavax.portlet.PortletSession
-
setHttpSession
public void setHttpSession(javax.servlet.http.HttpSession httpSession) - Specified by:
setHttpSessionin interfacecom.liferay.portal.kernel.portlet.LiferayPortletSession
-
setMaxInactiveInterval
public void setMaxInactiveInterval(int interval) - Specified by:
setMaxInactiveIntervalin interfacejavax.portlet.PortletSession
-