Class GroovySession

java.lang.Object
groovy.lang.GroovyObjectSupport
de.uplanet.lucy.server.portalserver.GroovySession
All Implemented Interfaces:
de.uplanet.lucy.server.session.ISession, groovy.lang.GroovyObject

@Scriptable public final class GroovySession extends groovy.lang.GroovyObjectSupport implements de.uplanet.lucy.server.session.ISession
  • Constructor Details

    • GroovySession

      public GroovySession(de.uplanet.lucy.server.session.ISession p_session)
  • Method Details

    • getAuthConfigName

      public String getAuthConfigName()
      Specified by:
      getAuthConfigName in interface de.uplanet.lucy.server.session.ISession
    • containsKey

      public boolean containsKey(String p_strKey)
      Specified by:
      containsKey in interface de.uplanet.lucy.server.session.ISession
    • get

      public Object get(String p_strKey)
      Specified by:
      get in interface de.uplanet.lucy.server.session.ISession
    • get

      public Object get(String p_strKey, Object p_objFallback)
      Specified by:
      get in interface de.uplanet.lucy.server.session.ISession
    • put

      public void put(String p_strKey, Object p_objValue)
      Specified by:
      put in interface de.uplanet.lucy.server.session.ISession
    • remove

      public void remove(String p_strKey)
      Specified by:
      remove in interface de.uplanet.lucy.server.session.ISession
    • getCreationTime

      public long getCreationTime()
      Specified by:
      getCreationTime in interface de.uplanet.lucy.server.session.ISession
    • getId

      public String getId()
      Specified by:
      getId in interface de.uplanet.lucy.server.session.ISession
    • getSubject

      public Subject getSubject()
      Specified by:
      getSubject in interface de.uplanet.lucy.server.session.ISession
    • getTimeout

      public long getTimeout()
      Specified by:
      getTimeout in interface de.uplanet.lucy.server.session.ISession
    • getUser

      public de.uplanet.lucy.server.usermanager.IUser getUser()
      Specified by:
      getUser in interface de.uplanet.lucy.server.session.ISession
    • isAnonymous

      public boolean isAnonymous()
      Specified by:
      isAnonymous in interface de.uplanet.lucy.server.session.ISession
    • isLoggedOut

      public boolean isLoggedOut()
      Specified by:
      isLoggedOut in interface de.uplanet.lucy.server.session.ISession
    • getLastAccessTime

      public long getLastAccessTime()
      Specified by:
      getLastAccessTime in interface de.uplanet.lucy.server.session.ISession
    • isStale

      public boolean isStale()
      Specified by:
      isStale in interface de.uplanet.lucy.server.session.ISession
    • isStale

      public boolean isStale(long p_lTimeNow)
      Specified by:
      isStale in interface de.uplanet.lucy.server.session.ISession
    • keySet

      public Set<String> keySet()
      Specified by:
      keySet in interface de.uplanet.lucy.server.session.ISession
    • getKeySet

      public Set<String> getKeySet()
    • logout

      public void logout()
      Specified by:
      logout in interface de.uplanet.lucy.server.session.ISession
    • setTimeout

      public void setTimeout(long p_lTimeout)
      Specified by:
      setTimeout in interface de.uplanet.lucy.server.session.ISession
    • touch

      public void touch()
      Specified by:
      touch in interface de.uplanet.lucy.server.session.ISession
    • addListener

      public void addListener(de.uplanet.lucy.server.session.ISessionListener p_listener, boolean p_bWeak)
      Specified by:
      addListener in interface de.uplanet.lucy.server.session.ISession
    • iterator

      public Iterator<Map.Entry<String,Object>> iterator()
    • getProperty

      public Object getProperty(String p_strKey)
      Specified by:
      getProperty in interface groovy.lang.GroovyObject
    • setProperty

      public void setProperty(String p_strKey, Object p_value)
      Specified by:
      setProperty in interface groovy.lang.GroovyObject
    • getAt

      public Object getAt(String p_strKey)
    • putAt

      public void putAt(String p_strKey, Object p_value)