Class SessiondataDao
java.lang.Object
org.apache.openmeetings.db.dao.server.SessiondataDao
- Author:
- swagner This Class handles all session management
-
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
SessiondataDao
public SessiondataDao()
-
-
Method Details
-
create
creates a new session-object in the database- Parameters:
userId- the id of the user to be set on this sessionlanguageId- language id to be set on this session- Returns:
- newly create
Sessiondata
-
create
creates a new session-object in the database- Parameters:
userId- the id of the user to be set on this sessionroomId- the id of the room to be set on this sessionlanguageId- language id to be set on this session- Returns:
- newly create
Sessiondata
-
find
SerchesSessiondataobject by sessionId- Parameters:
sid- - sessionId- Returns:
Sessiondatawith sessionId == SID, or null if not found
-
check
- Parameters:
sid- - sid ofSessiondatato check- Returns:
- -
Sessiondatafor given sid or newSessiondata
-
clearSessionTable
public void clearSessionTable(long timeout) - Parameters:
timeout- - timeout in millis to check expired sessions
-
update
-