net.sourceforge.apphere.dao.mbeanclient
Class TestUserDAO
java.lang.Object
net.sourceforge.apphere.dao.mbeanclient.TestUserDAO
- All Implemented Interfaces:
- UserDAO
- public class TestUserDAO
- extends java.lang.Object
- implements UserDAO
- 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 |
TestUserDAO
public TestUserDAO()
validateUser
public int validateUser(java.lang.String username,
java.lang.String password)
throws AppHereException
- Specified by:
validateUser
in interface UserDAO
- Throws:
AppHereException
addUser
public int addUser(UserValue newDev)
throws AppHereException
- Specified by:
addUser
in interface UserDAO
- Throws:
AppHereException
updateUser
public void updateUser(UserValue usr)
throws AppHereException
- Specified by:
updateUser
in interface UserDAO
- Throws:
AppHereException
removeUser
public void removeUser(int userId)
throws AppHereException
- Specified by:
removeUser
in interface UserDAO
- Throws:
AppHereException
getUsers
public java.util.List getUsers()
throws AppHereException
- Specified by:
getUsers
in interface UserDAO
- Throws:
AppHereException
getUser
public User getUser(int userId)
throws AppHereException
- Specified by:
getUser
in interface UserDAO
- Throws:
AppHereException