net.sourceforge.apphere.dao.mbeanclient
Class MBeanSessionDAO

java.lang.Object
  extended bynet.sourceforge.apphere.dao.mbeanclient.MBeanSessionDAO
All Implemented Interfaces:
SessionDAO

public class MBeanSessionDAO
extends java.lang.Object
implements SessionDAO

Author:
Dewi Roberts Chimera - Institute for Socio-Technical Innovation and Research University of Essex

Constructor Summary
MBeanSessionDAO()
           
 
Method Summary
 int addSession(int userId, Session newSess)
           
 Session getSession(int userId, int sessID)
           
 java.util.List getSessions(int userId)
           
 void removeSession(int userId, int sessID)
           
 void updateSession(int userId, Session sess)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MBeanSessionDAO

public MBeanSessionDAO()
Method Detail

addSession

public int addSession(int userId,
                      Session newSess)
               throws AppHereException
Specified by:
addSession in interface SessionDAO
Throws:
AppHereException

removeSession

public void removeSession(int userId,
                          int sessID)
                   throws AppHereException
Specified by:
removeSession in interface SessionDAO
Throws:
AppHereException

getSession

public Session getSession(int userId,
                          int sessID)
                   throws AppHereException
Specified by:
getSession in interface SessionDAO
Throws:
AppHereException

getSessions

public java.util.List getSessions(int userId)
                           throws AppHereException
Specified by:
getSessions in interface SessionDAO
Throws:
AppHereException

updateSession

public void updateSession(int userId,
                          Session sess)
                   throws AppHereException
Specified by:
updateSession in interface SessionDAO
Throws:
AppHereException