|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
User Data Access Object (DAO) interface.
| Method Summary | |
User |
getUser(String username)
Gets users information based on login name. |
UserCookie |
getUserCookie(String cookieId)
Gets a userCookie object from the database, based on cookieId |
List |
getUsers(User user)
Gets a list of users based on parameters passed in. |
void |
removeUser(User user)
Removes a user from the database by id |
void |
removeUserCookies(String username)
Removes all cookies for a specified username |
User |
saveUser(User user)
Saves a user's information |
void |
saveUserCookie(UserCookie cookie)
Saves a userCookie object to the database |
| Method Detail |
public User getUser(String username)
throws DAOException
username - the current username
DAOException
public List getUsers(User user)
throws DAOException
DAOException
public User saveUser(User user)
throws DAOException
user - the object to be saved
DAOException
public void removeUser(User user)
throws DAOException
user - the object to be removed
DAOException
public UserCookie getUserCookie(String cookieId)
throws DAOException
cookieId -
DAOException
public void saveUserCookie(UserCookie cookie)
throws DAOException
cookie -
DAOExceptionpublic void removeUserCookies(String username)
username -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||