java.lang.Object | ||
↳ | com.microstrategy.utils.serialization.AbstractPersistable | |
↳ | com.microstrategy.web.beans.WebSessionManagerImpl |
![]() |
![]() |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | WebSessionManagerState | ||||||||||
String | WebUserSessionManagerState |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
protected WebIServerSessionList | _sessionList |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebSessionManagerImpl() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
WebIServerSession |
getActiveSession()
Returns the
WebIServerSession in the list currently considered to be active. | ||||||||||
String |
getKey()
Returns the key of the Session Manager.
| ||||||||||
WebIServerSessionList |
getSessionList()
Returns the underlying
WebIServerSessionList object. | ||||||||||
boolean |
restoreState(String state)
Restores a component based on its saved state.
| ||||||||||
boolean |
restoreStateFromRequest(RequestKeys rk, String keyName)
Restores a
WebComponent based on the RequestKeys
instance. | ||||||||||
boolean |
restoreStateFromRequest(RequestKeys rk)
Restores a
WebComponent based on the RequestKeys
instance. | ||||||||||
WebIServerSession |
setActiveSession(String key)
Sets the active session to be the session with the given key in the collection.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | init() | ||||||||||
boolean | restoreSessionListState(WebIServerSessionList list, String state) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns the WebIServerSession
in the list currently considered to be active.
Returns the key of the Session Manager. This value is used to store and retrieve the state of the Session Manager.
Returns the underlying WebIServerSessionList
object. This object
represents a list of sessions that are being managed by the session manager.
WebIServerSessionList
object representing the list of
sessions being managed by the session manager.
Restores a component based on its saved state.
state | the state of a component |
---|
Restores a WebComponent
based on the RequestKeys
instance. This method retrieves the saved state of a component based
on the parameter keyName.
rk | a RequestKeys instance. |
---|---|
keyName | the key to the state of a component. |
Restores a WebComponent
based on the RequestKeys
instance. This method retrieves the saved state of a component based
on the component's name.
rk | a RequestKeys instance. |
---|
Sets the active session to be the session with the given key in the collection. The newly set active session will be returned. If there exists no session with the given key in the collection, then this method will return null.
key | The key to look for in the session list. |
---|