org.bonitasoft.engine.session.impl
public abstract class AbstractSessionProvider extends Object implements SessionProvider
| Constructor and Description |
|---|
AbstractSessionProvider() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSession(org.bonitasoft.engine.session.model.SSession session) |
void |
cleanInvalidSessions() |
void |
deleteSessionsOfTenant(long tenantId,
boolean keepTechnicalSessions) |
org.bonitasoft.engine.session.model.SSession |
getSession(long sessionId) |
protected abstract Map<Long,org.bonitasoft.engine.session.model.SSession> |
getSessions() |
protected org.bonitasoft.engine.session.model.SSession |
putSession(org.bonitasoft.engine.session.model.SSession session,
long id) |
void |
removeSession(long sessionId) |
void |
removeSessions() |
void |
updateSession(org.bonitasoft.engine.session.model.SSession session) |
protected abstract Map<Long,org.bonitasoft.engine.session.model.SSession> getSessions()
protected org.bonitasoft.engine.session.model.SSession putSession(org.bonitasoft.engine.session.model.SSession session, long id)
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,
boolean keepTechnicalSessions)
deleteSessionsOfTenant in interface SessionProviderCopyright © 2014 Bonitasoft S.A.. All rights reserved.