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
-
Field Summary
Fields inherited from interface de.uplanet.lucy.server.session.ISession
DEFAULT_TIMEOUT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addListener
(de.uplanet.lucy.server.session.ISessionListener p_listener, boolean p_bWeak) boolean
containsKey
(String p_strKey) long
getId()
long
getProperty
(String p_strKey) long
de.uplanet.lucy.server.usermanager.IUser
getUser()
boolean
boolean
boolean
isStale()
boolean
isStale
(long p_lTimeNow) iterator()
keySet()
void
logout()
void
void
void
void
setProperty
(String p_strKey, Object p_value) void
setTimeout
(long p_lTimeout) void
touch()
Methods inherited from class groovy.lang.GroovyObjectSupport
getMetaClass, setMetaClass
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface groovy.lang.GroovyObject
invokeMethod
-
Constructor Details
-
GroovySession
public GroovySession(de.uplanet.lucy.server.session.ISession p_session)
-
-
Method Details
-
getAuthConfigName
- Specified by:
getAuthConfigName
in interfacede.uplanet.lucy.server.session.ISession
-
containsKey
- Specified by:
containsKey
in interfacede.uplanet.lucy.server.session.ISession
-
get
- Specified by:
get
in interfacede.uplanet.lucy.server.session.ISession
-
get
- Specified by:
get
in interfacede.uplanet.lucy.server.session.ISession
-
put
- Specified by:
put
in interfacede.uplanet.lucy.server.session.ISession
-
remove
- Specified by:
remove
in interfacede.uplanet.lucy.server.session.ISession
-
getCreationTime
public long getCreationTime()- Specified by:
getCreationTime
in interfacede.uplanet.lucy.server.session.ISession
-
getId
- Specified by:
getId
in interfacede.uplanet.lucy.server.session.ISession
-
getSubject
- Specified by:
getSubject
in interfacede.uplanet.lucy.server.session.ISession
-
getTimeout
public long getTimeout()- Specified by:
getTimeout
in interfacede.uplanet.lucy.server.session.ISession
-
getUser
public de.uplanet.lucy.server.usermanager.IUser getUser()- Specified by:
getUser
in interfacede.uplanet.lucy.server.session.ISession
-
isAnonymous
public boolean isAnonymous()- Specified by:
isAnonymous
in interfacede.uplanet.lucy.server.session.ISession
-
isLoggedOut
public boolean isLoggedOut()- Specified by:
isLoggedOut
in interfacede.uplanet.lucy.server.session.ISession
-
getLastAccessTime
public long getLastAccessTime()- Specified by:
getLastAccessTime
in interfacede.uplanet.lucy.server.session.ISession
-
isStale
public boolean isStale()- Specified by:
isStale
in interfacede.uplanet.lucy.server.session.ISession
-
isStale
public boolean isStale(long p_lTimeNow) - Specified by:
isStale
in interfacede.uplanet.lucy.server.session.ISession
-
keySet
- Specified by:
keySet
in interfacede.uplanet.lucy.server.session.ISession
-
getKeySet
-
logout
public void logout()- Specified by:
logout
in interfacede.uplanet.lucy.server.session.ISession
-
setTimeout
public void setTimeout(long p_lTimeout) - Specified by:
setTimeout
in interfacede.uplanet.lucy.server.session.ISession
-
touch
public void touch()- Specified by:
touch
in interfacede.uplanet.lucy.server.session.ISession
-
addListener
public void addListener(de.uplanet.lucy.server.session.ISessionListener p_listener, boolean p_bWeak) - Specified by:
addListener
in interfacede.uplanet.lucy.server.session.ISession
-
iterator
-
getProperty
- Specified by:
getProperty
in interfacegroovy.lang.GroovyObject
-
setProperty
- Specified by:
setProperty
in interfacegroovy.lang.GroovyObject
-
getAt
-
putAt
-