|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.atlassian.crowd.plugin.rest.admin.controller.UsersController
public class UsersController
Field Summary | |
---|---|
protected org.apache.log4j.Logger |
logger
|
Constructor Summary | |
---|---|
UsersController()
|
Method Summary | |
---|---|
void |
addUser(Directory directory,
RestUser user)
Adds a user to the directory in question, if the directory permissions allow. |
void |
deleteUser(Directory directory,
String userName)
Removes a user from the directory, if the directory permissions allow. |
RestUser |
getUser(Directory directory,
String userName)
Returns the user with the specified username |
RestUsers |
getUsers(Directory directory,
String searchTerm)
Returns a list of users in the directory that match the search term. |
void |
setDirectoryManager(DirectoryManager directoryManager)
|
void |
updateUser(Directory directory,
RestUser user)
Updates a user, based on their identifier, if directory permissions allow. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final org.apache.log4j.Logger logger
Constructor Detail |
---|
public UsersController()
Method Detail |
---|
public RestUsers getUsers(Directory directory, String searchTerm)
directory
-
public RestUser getUser(Directory directory, String userName)
userName
-
public void addUser(Directory directory, RestUser user)
directory
- user
- public void deleteUser(Directory directory, String userName)
directory
- user
- public void updateUser(Directory directory, RestUser user)
directory
- user
- public void setDirectoryManager(DirectoryManager directoryManager)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |