Class PortletSessionImpl

  • All Implemented Interfaces:
    javax.portlet.PortletSession

    public class PortletSessionImpl
    extends Object
    implements javax.portlet.PortletSession
    Version:
    $Revision: 6697 $
    Author:
    Julien Viet
    • Constructor Detail

      • PortletSessionImpl

        public PortletSessionImpl​(javax.servlet.http.HttpSession session,
                                  String id,
                                  javax.portlet.PortletContext context)
    • Method Detail

      • getAttribute

        public Object getAttribute​(String s)
        Specified by:
        getAttribute in interface javax.portlet.PortletSession
      • getAttribute

        public Object getAttribute​(String s,
                                   int i)
        Specified by:
        getAttribute in interface javax.portlet.PortletSession
      • getAttributeNames

        public Enumeration<String> getAttributeNames()
        Specified by:
        getAttributeNames in interface javax.portlet.PortletSession
      • getAttributeNames

        public Enumeration<String> getAttributeNames​(int scope)
        Specified by:
        getAttributeNames in interface javax.portlet.PortletSession
      • getCreationTime

        public long getCreationTime()
        Specified by:
        getCreationTime in interface javax.portlet.PortletSession
      • getId

        public String getId()
        Specified by:
        getId in interface javax.portlet.PortletSession
      • getLastAccessedTime

        public long getLastAccessedTime()
        Specified by:
        getLastAccessedTime in interface javax.portlet.PortletSession
      • getMaxInactiveInterval

        public int getMaxInactiveInterval()
        Specified by:
        getMaxInactiveInterval in interface javax.portlet.PortletSession
      • invalidate

        public void invalidate()
        Specified by:
        invalidate in interface javax.portlet.PortletSession
      • isNew

        public boolean isNew()
        Specified by:
        isNew in interface javax.portlet.PortletSession
      • removeAttribute

        public void removeAttribute​(String s)
        Specified by:
        removeAttribute in interface javax.portlet.PortletSession
      • removeAttribute

        public void removeAttribute​(String s,
                                    int i)
        Specified by:
        removeAttribute in interface javax.portlet.PortletSession
      • setAttribute

        public void setAttribute​(String s,
                                 Object o)
        Specified by:
        setAttribute in interface javax.portlet.PortletSession
      • setAttribute

        public void setAttribute​(String s,
                                 Object o,
                                 int i)
        Specified by:
        setAttribute in interface javax.portlet.PortletSession
      • setMaxInactiveInterval

        public void setMaxInactiveInterval​(int i)
        Specified by:
        setMaxInactiveInterval in interface javax.portlet.PortletSession
      • getPortletContext

        public javax.portlet.PortletContext getPortletContext()
        Specified by:
        getPortletContext in interface javax.portlet.PortletSession
      • getAttributeMap

        public Map<String,​Object> getAttributeMap()
        Specified by:
        getAttributeMap in interface javax.portlet.PortletSession
      • getAttributeMap

        public Map<String,​Object> getAttributeMap​(int i)
        Specified by:
        getAttributeMap in interface javax.portlet.PortletSession