|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Business Delegate (Proxy) Interface to handle communication between web and persistence layer.
| Method Summary | |
String |
checkLoginCookie(String value)
Validates a user based on a cookie value. |
String |
createLoginCookie(String username)
Creates a cookie string using a username - designed for use when a user logs in and wants to be remembered. |
Object |
getUser(String username)
Retrieves a user by name, and can create a new one |
List |
getUsers(Object user)
Retrieves a list of users, filtering with parameters on a user object |
void |
removeLoginCookies(String username)
Deletes all cookies for user. |
void |
removeUser(Object user)
Removes a user from the database by id |
Object |
saveUser(Object user)
Saves a user's information |
| Method Detail |
public Object getUser(String username)
throws Exception
username -
Exception
public List getUsers(Object user)
throws Exception
user - parameters to filter on
Exception
public Object saveUser(Object user)
throws Exception
user - the user's information
Exception
public void removeUser(Object user)
throws Exception
Exception
public String checkLoginCookie(String value)
throws Exception
value - (in format username|guid)
Exception
public String createLoginCookie(String username)
throws Exception
username -
Exceptionpublic void removeLoginCookies(String username)
username -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||