public interface CockpitSessionService
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String string)
Gets attribute for the given key
|
default Map<String,WidgetInstance> |
getWidgetInstanceMap()
Gets widget instance map from the session
|
void |
logout()
Performs necessary steps to logout the current user.
|
void |
removeAttribute(String string)
Removes the session attribute for the given key, if existing.
|
void |
setAttribute(String string,
Object value)
Sets the session attribute for the given key to the specified value.
|
default void |
setWidgetInstanceMap(Map<String,WidgetInstance> ret)
Puts widget instance map to the session
|
Object getAttribute(String string)
string - key from which to retrieve the attributevoid removeAttribute(String string)
string - key from which to remove the attributevoid setAttribute(String string, Object value)
string - key from which to set valuevalue - to storevoid logout()
default Map<String,WidgetInstance> getWidgetInstanceMap()
default void setWidgetInstanceMap(Map<String,WidgetInstance> ret)
ret - mapCopyright © 2018. All rights reserved.