java.lang.Object | |
↳ | bucket.user.DefaultUserAccessor |
Known Direct Subclasses |
Known Indirect Subclasses |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
DEFAULT_GROUP_NAME | |||||||||||
defaultGroup |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a group with the specified name and returns it.
| |||||||||||
Note that this method creates a group with case sensitive name.
| |||||||||||
Allows specification of com.atlassian.user.search.query.QueryContext.
| |||||||||||
Generates a com.atlassian.user.search.SearchResult object for each repository the
entityQueryParser can search.
| |||||||||||
Allows specification of com.atlassian.user.search.query.QueryContext.
| |||||||||||
This method is deprecated.
since 3.5 not used anywhere
| |||||||||||
Returns the group with the specified name, or
null if the user doesn't exist or the name is null . | |||||||||||
Get a group - and if it does not exist, create it first.
| |||||||||||
Returns a pager of all groups in the system.
| |||||||||||
Returns a pager containing the usernames of users who are members of the specified group
(either directly or as a member of a nested group).
| |||||||||||
Returns the user with the specified name, or
null if the user doesn't exist or the name is null . | |||||||||||
Returns a pager of all usernames in the system.
| |||||||||||
Returns a pager of all users in the system.
| |||||||||||
Returns
true if the specified user and group both exist, and the user is a member of the
group (either directly or as a member of a nested group). | |||||||||||
Returns
true if the specified user and group both exist, and the user is a member of the
group (either directly or as a member of a nested group). | |||||||||||
Removes the specified group.
| |||||||||||
Removes the specified user.
| |||||||||||
Persists changes made to a user (e.g.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
bucket.user.UserAccessor
| |||||||||||
From interface
com.atlassian.user.search.query.EntityQueryParser
|
Note that this method creates a group with case sensitive name. If you want to add a group with the name lower-cased, use addGroup instead
Allows specification of com.atlassian.user.search.query.QueryContext.
EntityException |
---|
Generates a com.atlassian.user.search.SearchResult object for each repository the entityQueryParser can search. These are grouped in an array and returned.
Thus, if the entityQueryParser only knows about one configuration, the array will either have a size of 0 (no sucesses) or 1.EntityException |
---|
EntityException |
---|
Allows specification of com.atlassian.user.search.query.QueryContext.
EntityException |
---|
This method is deprecated.
since 3.5 not used anywhere
Returns the group with the specified name, or null
if the user doesn't exist or the name is null
.
Get a group - and if it does not exist, create it first.
Returns a pager of all groups in the system. Clients should not normally use this method, but
perform a search using findGroups(Query)
or the CrowdService API instead.
Returns a pager containing the usernames of users who are members of the specified group (either directly or as a member of a nested group). Returns an empty pager if the group has no members or doesn't exist.
EntityException |
---|
Returns the user with the specified name, or null
if the user doesn't exist or the name is null
.
Note that username lookups are case-insensitive, so the user you get back may not have exactly the same
name as the name passed to this method.
Returns a pager of all usernames in the system. Clients should not normally use this method, but
perform a search using findUsers(Query)
or the CrowdService API instead.
Returns a pager of all users in the system. Clients should not normally use this method, but
perform a search using findUsers(Query)
or the CrowdService API instead.
Returns true
if the specified user and group both exist, and the user is a member of the
group (either directly or as a member of a nested group). In all other circumstances, returns
false
.
Returns true
if the specified user and group both exist, and the user is a member of the
group (either directly or as a member of a nested group). In all other circumstances, returns
false
.
EntityException |
---|
Removes the specified group. Does nothing if the group does not exist.
Removes the specified user. Does nothing if the user does not exist.
Persists changes made to a user (e.g. changing email or full name).