public final class SessionProviderImpl extends Object implements SessionProvider
| Constructor and Description |
|---|
SessionProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(org.bonitasoft.engine.session.model.SSession session) |
void |
cleanInvalidSessions() |
void |
deleteSessionsOfTenant(long tenantId) |
org.bonitasoft.engine.session.model.SSession |
getSession(long sessionId) |
void |
removeSession(long sessionId) |
void |
removeSessions() |
void |
updateSession(org.bonitasoft.engine.session.model.SSession session) |
public void addSession(org.bonitasoft.engine.session.model.SSession session) throws SSessionAlreadyExistsException
addSession in interface SessionProviderSSessionAlreadyExistsExceptionpublic void removeSession(long sessionId)
throws SSessionNotFoundException
removeSession in interface SessionProviderSSessionNotFoundExceptionpublic org.bonitasoft.engine.session.model.SSession getSession(long sessionId) throws SSessionNotFoundException
getSession in interface SessionProviderSSessionNotFoundExceptionpublic void updateSession(org.bonitasoft.engine.session.model.SSession session) throws SSessionNotFoundException
updateSession in interface SessionProviderSSessionNotFoundExceptionpublic void cleanInvalidSessions()
cleanInvalidSessions in interface SessionProviderpublic void removeSessions()
removeSessions in interface SessionProviderpublic void deleteSessionsOfTenant(long tenantId)
deleteSessionsOfTenant in interface SessionProviderCopyright © 2014 BonitaSoft. All Rights Reserved.