|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserSessionDAO extends GenericDAO<UserSession,java.lang.Long>
The Interface UserSessionDAO.
Modifier and Type | Method and Description |
---|---|
void |
endActiveSessions()
End active sessions. |
UserSession |
findBySessionId(java.lang.String sessionId)
Find by session id. |
UserSession |
findByUserId(java.lang.Long userId)
Find by user id. |
java.util.List<UserSession> |
getActiveSessions()
Gets the active sessions. |
Methods inherited from interface org.directdemocracyportal.democracy.service.dao.GenericDAO |
---|
delete, getAll, load, save |
Method Detail |
---|
UserSession findBySessionId(java.lang.String sessionId) throws org.springframework.dao.DataAccessException
sessionId
- the session idorg.springframework.dao.DataAccessException
- the data access exceptionUserSession findByUserId(java.lang.Long userId) throws org.springframework.dao.DataAccessException
userId
- the user idorg.springframework.dao.DataAccessException
- the data access exceptionjava.util.List<UserSession> getActiveSessions()
void endActiveSessions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |