Package io.jmix.core.session
Interface SessionData
- All Superinterfaces:
 Serializable
- All Known Implementing Classes:
 SessionDataImpl
Interface to work with current session and its attributes.
- 
Method Summary
Modifier and TypeMethodDescriptiongetAttribute(String name) Get session attribute value.Returns all session attributes.Returns current session id.voidsetAttribute(String name, Object attribute) Set session attribute value. 
- 
Method Details
- 
getAttributeNames
Collection<String> getAttributeNames()Returns all session attributes. - 
getAttribute
Get session attribute value. - 
setAttribute
Set session attribute value. - 
getSessionId
String getSessionId()Returns current session id. 
 -