public class DefaultCockpitSessionService extends Object implements CockpitSessionService, Serializable
| Constructor and Description |
|---|
DefaultCockpitSessionService() |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAttribute(String string)
Gets attribute for the given key
|
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.
|
void |
setLogoutURI(String logoutURI) |
void |
setWidgetInstanceMap(Map<String,WidgetInstance> ret)
Puts widget instance map to the session
|
public void setWidgetInstanceMap(Map<String,WidgetInstance> ret)
CockpitSessionServicesetWidgetInstanceMap in interface CockpitSessionServiceret - mappublic Map<String,WidgetInstance> getWidgetInstanceMap()
CockpitSessionServicegetWidgetInstanceMap in interface CockpitSessionServicepublic Object getAttribute(String string)
CockpitSessionServicegetAttribute in interface CockpitSessionServicestring - key from which to retrieve the attributepublic void removeAttribute(String string)
CockpitSessionServiceremoveAttribute in interface CockpitSessionServicestring - key from which to remove the attributepublic void setAttribute(String string, Object value)
CockpitSessionServicesetAttribute in interface CockpitSessionServicestring - key from which to set valuevalue - to storepublic void logout()
CockpitSessionServicelogout in interface CockpitSessionServicepublic void setLogoutURI(String logoutURI)
Copyright © 2018. All rights reserved.