net.sourceforge.apphere.mbean
Class SessionService
java.lang.Object
net.sourceforge.apphere.mbean.SessionService
- All Implemented Interfaces:
- SessionDAO, SessionServiceMBean
- public class SessionService
- extends java.lang.Object
- implements SessionServiceMBean
- Author:
- Dewi Roberts
Chimera - Institute for Socio-Technical Innovation and Research
University of Essex
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionService
public SessionService()
addSession
public int addSession(int userId,
Session newSess)
- Specified by:
addSession
in interface SessionDAO
updateSession
public void updateSession(int userId,
Session sess)
throws AppHereException
- Specified by:
updateSession
in interface SessionDAO
- Throws:
AppHereException
removeSession
public void removeSession(int userId,
int sessID)
- Specified by:
removeSession
in interface SessionDAO
getSession
public Session getSession(int userId,
int sessID)
- Specified by:
getSession
in interface SessionDAO
getSessions
public java.util.List getSessions(int userId)
- Specified by:
getSessions
in interface SessionDAO
size
public int size(int userId)