|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.wsrp.consumer.impl.UserRegistryImpl
public class UserRegistryImpl
| Constructor Summary | |
|---|---|
UserRegistryImpl()
|
|
| Method Summary | |
|---|---|
User |
addUser(User user)
Add a user to the registry |
Iterator<User> |
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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UserRegistryImpl()
| Method Detail |
|---|
public User addUser(User user)
UserRegistry
addUser in interface UserRegistryuser - The user to add
public User getUser(String userID)
UserRegistry
getUser in interface UserRegistryuserID - The ID of the user
public User removeUser(String userID)
UserRegistry
removeUser in interface UserRegistryuserID - The ID of the user
public void removeAllUsers()
UserRegistry
removeAllUsers in interface UserRegistrypublic Iterator<User> getAllUsers()
UserRegistry
getAllUsers in interface UserRegistry
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||