Package com.enonic.xp.session
Class SimpleSession
- java.lang.Object
-
- com.enonic.xp.session.SimpleSession
-
- All Implemented Interfaces:
MutableAttributes,ScopeAttributes,Session
@Deprecated public final class SimpleSession extends Object implements Session
Deprecated.
-
-
Constructor Summary
Constructors Constructor Description SimpleSession(SessionKey key)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <T> TgetAttribute(Class<T> type)Deprecated.ObjectgetAttribute(String key)Deprecated.Map<String,Object>getAttributes()Deprecated.SessionKeygetKey()Deprecated.voidinvalidate()Deprecated.<T> voidremoveAttribute(Class<T> type)Deprecated.voidremoveAttribute(String key)Deprecated.voidsetAttribute(String key, Object value)Deprecated.<T> voidsetAttribute(T value)Deprecated.
-
-
-
Constructor Detail
-
SimpleSession
public SimpleSession(SessionKey key)
Deprecated.
-
-
Method Detail
-
getKey
public SessionKey getKey()
Deprecated.
-
getAttribute
public Object getAttribute(String key)
Deprecated.- Specified by:
getAttributein interfaceScopeAttributes
-
getAttribute
public <T> T getAttribute(Class<T> type)
Deprecated.- Specified by:
getAttributein interfaceScopeAttributes
-
setAttribute
public void setAttribute(String key, Object value)
Deprecated.- Specified by:
setAttributein interfaceMutableAttributes
-
setAttribute
public <T> void setAttribute(T value)
Deprecated.- Specified by:
setAttributein interfaceMutableAttributes
-
getAttributes
public Map<String,Object> getAttributes()
Deprecated.- Specified by:
getAttributesin interfaceScopeAttributes
-
removeAttribute
public void removeAttribute(String key)
Deprecated.- Specified by:
removeAttributein interfaceMutableAttributes
-
removeAttribute
public <T> void removeAttribute(Class<T> type)
Deprecated.- Specified by:
removeAttributein interfaceMutableAttributes
-
invalidate
public void invalidate()
Deprecated.- Specified by:
invalidatein interfaceSession
-
-