Package com.liferay.portlet.internal
Class PortletSessionImpl
Object
com.liferay.portlet.internal.PortletSessionImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.LiferayPortletSession,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 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, 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()longintvoidbooleanbooleanisNew()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
-
scopePrefix
-
-
Constructor Details
-
PortletSessionImpl
public PortletSessionImpl(javax.servlet.http.HttpSession httpSession, PortletContext portletContext, String portletName, long plid)
-
-
Method Details
-
getAttribute
- Specified by:
getAttributein interfacePortletSession
-
getAttribute
- Specified by:
getAttributein interfacePortletSession
-
getAttributeMap
- Specified by:
getAttributeMapin interfacePortletSession
-
getAttributeMap
- Specified by:
getAttributeMapin interfacePortletSession
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacePortletSession
-
getAttributeNames
- Specified by:
getAttributeNamesin interfacePortletSession
-
getCreationTime
public long getCreationTime()- Specified by:
getCreationTimein interfacePortletSession
-
getHttpSession
public javax.servlet.http.HttpSession getHttpSession() -
getId
- Specified by:
getIdin interfacePortletSession
-
getLastAccessedTime
public long getLastAccessedTime()- Specified by:
getLastAccessedTimein interfacePortletSession
-
getMaxInactiveInterval
public int getMaxInactiveInterval()- Specified by:
getMaxInactiveIntervalin interfacePortletSession
-
getPortletContext
- Specified by:
getPortletContextin interfacePortletSession
-
invalidate
public void invalidate()- Specified by:
invalidatein interfacePortletSession
-
isInvalidated
public boolean isInvalidated() -
isNew
public boolean isNew()- Specified by:
isNewin interfacePortletSession
-
removeAttribute
- Specified by:
removeAttributein interfacePortletSession
-
removeAttribute
- Specified by:
removeAttributein interfacePortletSession
-
setAttribute
- Specified by:
setAttributein interfacePortletSession
-
setAttribute
- Specified by:
setAttributein interfacePortletSession
-
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 interfacePortletSession
-