|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
public interface I_CmsSessionStorageProvider
This interface is used to define the session storage implementation provider.
| Method Summary | |
|---|---|
CmsSessionInfo |
get(CmsUUID sessionId)
Returns the stored session info object with the given id. |
java.util.List |
getAll()
Returns all current stored session info objects. |
java.util.List |
getAllOfUser(CmsUUID userId)
Returns all current stored session info objects for the given user. |
int |
getSize()
Returns the current number of stored session info objects. |
void |
initialize()
Initializes the storage. |
CmsSessionInfo |
put(CmsSessionInfo sessionInfo)
Stores the given session info object. |
CmsSessionInfo |
remove(CmsUUID sessionId)
Removes the stored session info object identified by the given session id. |
void |
shutdown()
Last cleanup possibility. |
void |
validate()
Validates all session info objects removing any session that have became invalidated. |
| Method Detail |
|---|
void validate()
CmsSessionInfo get(CmsUUID sessionId)
sessionId - the id to lookup
null if not foundjava.util.List getAll()
java.util.List getAllOfUser(CmsUUID userId)
userId - the id of the user to retrieve the session info objects for
int getSize()
void initialize()
throws CmsInitException
CmsInitException - if initialization failsCmsSessionInfo put(CmsSessionInfo sessionInfo)
sessionInfo - the session info object to be stored
null if noneCmsSessionInfo remove(CmsUUID sessionId)
sessionId - the id that identifies the stored session info object to remove
null if none
void shutdown()
throws java.lang.Exception
java.lang.Exception - if something goes wrong
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||