|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UserRegistry
Defines a registry which can be used to manage users.
| Method Summary | |
|---|---|
User |
addUser(User user)
Add a user to the registry |
Iterator |
getAllUsers()
Get an iterator with all known users |
User |
getUser(String userID)
Get the user with the given id |
void |
removeAllUsers()
Remove all users from the registry |
User |
removeUser(String userID)
Remove a user from the list of known user |
| Method Detail |
|---|
User addUser(User user)
user - The user to add
User getUser(String userID)
userID - The ID of the user
User removeUser(String userID)
userID - The ID of the user
void removeAllUsers()
Iterator getAllUsers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||