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 void
addSession(SSession session)
void
cleanInvalidSessions()
void
deleteSessionsOfTenant(long tenantId, boolean keepTechnicalSessions)
SSession
getSession(long sessionId)
void
removeSession(long sessionId)
void
removeSessions()
void
updateSession(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)
-
-