|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserService
Web Service interface so hierarchy of Universal and Generic Managers isn't carried through.
Method Summary | |
---|---|
User |
getUser(String userId)
Retrieves a user by userId. |
User |
getUserByUsername(String username)
Finds a user by their username. |
List<User> |
getUsers(User user)
Retrieves a list of users, filtering with parameters on a user object |
void |
removeUser(String userId)
Removes a user from the database by their userId |
User |
saveUser(User user)
Saves a user's information |
Method Detail |
---|
User getUser(String userId)
userId
- the identifier for the user
User getUserByUsername(String username) throws org.acegisecurity.userdetails.UsernameNotFoundException
username
- the user's username used to login
org.acegisecurity.userdetails.UsernameNotFoundException
- exception thrown when user not foundList<User> getUsers(User user)
user
- parameters to filter on
User saveUser(User user) throws UserExistsException
user
- the user's information
UserExistsException
- thrown when user already existsvoid removeUser(String userId)
userId
- the user's id
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |