@Transactional public class SessiondataDao extends Object
Constructor and Description |
---|
SessiondataDao() |
Modifier and Type | Method and Description |
---|---|
Long |
checkSession(String SID) |
void |
clearSessionByRoomId(Long roomId) |
void |
clearSessionTable(long timeout) |
Sessiondata |
getSessionByHash(String SID) |
Sessiondata |
startsession()
creates a new session-object in the database
|
boolean |
updateUser(String SID,
long userId)
update the session of a user with a new user id this is needed to see if
the session is loggedin
|
boolean |
updateUser(String SID,
long userId,
boolean permanent,
Long languageId) |
boolean |
updateUserGroup(String SID,
Long groupId) |
boolean |
updateUserRemoteSession(String SID,
String sessionXml) |
boolean |
updateUserWithoutSession(String SID,
Long userId) |
public Sessiondata startsession()
public Sessiondata getSessionByHash(String SID)
public boolean updateUser(String SID, long userId)
SID
- userId
- public void clearSessionTable(long timeout)
public void clearSessionByRoomId(Long roomId)
roomId
- Copyright © 2012–2016 Apache Software Foundation. All rights reserved.