net.sourceforge.apphere.dao
Interface SessionDAO

All Known Subinterfaces:
SessionServiceMBean
All Known Implementing Classes:
MBeanSessionDAO, SessionService

public interface SessionDAO

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

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)
           
 

Method Detail

addSession

public int addSession(int userId,
                      Session newSess)
               throws AppHereException
Throws:
AppHereException

removeSession

public void removeSession(int userId,
                          int sessID)
                   throws AppHereException
Throws:
AppHereException

getSession

public Session getSession(int userId,
                          int sessID)
                   throws AppHereException
Throws:
AppHereException

getSessions

public java.util.List getSessions(int userId)
                           throws AppHereException
Throws:
AppHereException

updateSession

public void updateSession(int userId,
                          Session sess)
                   throws AppHereException
Throws:
AppHereException