Module org.apache.openmeetings.db
Class SessiondataDao
java.lang.Object
org.apache.openmeetings.db.dao.server.SessiondataDao
- Author:
- swagner This Class handles all session management
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidclearSessionTable(long timeout) creates a new session-object in the databasecreates a new session-object in the databaseSerchesSessiondataobject by sessionIdupdate(Sessiondata sd) 
- 
Constructor Details- 
SessiondataDaopublic SessiondataDao()
 
- 
- 
Method Details- 
createcreates a new session-object in the database- Parameters:
- userId- the id of the user to be set on this session
- languageId- language id to be set on this session
- Returns:
- newly create Sessiondata
 
- 
createcreates a new session-object in the database- Parameters:
- userId- the id of the user to be set on this session
- roomId- the id of the room to be set on this session
- languageId- language id to be set on this session
- Returns:
- newly create Sessiondata
 
- 
findSerchesSessiondataobject by sessionId- Parameters:
- sid- - sessionId
- Returns:
- Sessiondatawith sessionId == SID, or null if not found
 
- 
check- Parameters:
- sid- - sid of- Sessiondatato check
- Returns:
- - Sessiondatafor given sid or newSessiondata
 
- 
clearSessionTablepublic void clearSessionTable(long timeout) - Parameters:
- timeout- - timeout in millis to check expired sessions
 
- 
update
 
-