Package org.bonitasoft.engine.session
Interface SessionProvider
-
- All Known Implementing Classes:
AbstractSessionProvider,SessionProviderImpl
public interface SessionProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddSession(SSession session)voidcleanInvalidSessions()voiddeleteSessionsOfTenant(long tenantId, boolean keepTechnicalSessions)SSessiongetSession(long sessionId)voidremoveSession(long sessionId)voidremoveSessions()voidupdateSession(SSession session)
-
-
-
Method Detail
-
updateSession
void updateSession(SSession session) throws SSessionNotFoundException
- Throws:
SSessionNotFoundException
-
cleanInvalidSessions
void cleanInvalidSessions()
-
removeSessions
void removeSessions()
-
getSession
SSession getSession(long sessionId) throws SSessionNotFoundException
- Throws:
SSessionNotFoundException
-
removeSession
void removeSession(long sessionId) throws SSessionNotFoundException- Throws:
SSessionNotFoundException
-
addSession
void addSession(SSession session) throws SSessionAlreadyExistsException
- Throws:
SSessionAlreadyExistsException
-
deleteSessionsOfTenant
void deleteSessionsOfTenant(long tenantId, boolean keepTechnicalSessions)
-
-