com.atlassian.stash.user.DeprecatedUserService |
![]() |
Contains methods which are in some phase of deprecation in preparation for being removed from the
UserService
. Each method will be annotated with its deprecation lifecycle, indicating in
which version it will be fully removed.
UserService
. Calling code should always reference UserService
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findGroups(PageRequest)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsers(PageRequest) . There is no replacement
for the ability to retrieve deleted users; that functionality has been
removed.
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsers(PageRequest)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findGroupsByName(String, PageRequest)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsersByName(String, PageRequest)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsersByName(String, PageRequest) . There is no replacement
for the ability to retrieve deleted users; that functionality has been removed.
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findGroupsByUser(String, PageRequest)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
getUserById(int)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
getUserByName(String, boolean)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
getUserByName(String)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsersByGroup(String, PageRequest)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
isUserInGroup(String, String)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
isUserInGroup(StashUser, String)
| |||||||||||
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
updateUser(String, String)
|
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findGroups(PageRequest)
pageRequest | start an limit of the page |
---|
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsers(PageRequest)
. There is no replacement
for the ability to retrieve deleted users; that functionality has been
removed.
Retrieves a page of users.
Note: As of Stash 2.0, it is no longer possible to retrieve deleted users by calling this method. ThereturnDeletedUsers
parameter is ignored. The results returned will never include users
which have been deleted.returnDeletedUsers | ignored |
---|---|
pageRequest | specifies the start and limit of the requested page |
null
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsers(PageRequest)
Retrieves a page of users.
pageRequest | specifies the start and limit of the requested page |
---|
null
.
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findGroupsByName(String, PageRequest)
containedText | text to be contained in the group name |
---|---|
pageRequest | start and limit of the page |
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsersByName(String, PageRequest)
Retrieves a page of users, filtered by username.
Note: As of Stash 2.0, this method now includes e-mail addresses and display names in its filtering, not just the username. This may result in additional results being returned that were not returned previously.containedText | text to be contained in the username |
---|---|
pageRequest | start and limit of the page |
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsersByName(String, PageRequest)
. There is no replacement
for the ability to retrieve deleted users; that functionality has been removed.
Retrieves a page of users, filtered by username.
Note: As of Stash 2.0, this method now includes e-mail addresses and display names in its filtering, not just the username. This may result in additional results being returned that were not returned previously. Additionally, it is no longer possible to retrieve deleted users by calling this method. ThereturnDeletedUsers
parameter is ignored. The results returned will never include users
which have been deleted.containedText | text to be contained in the username |
---|---|
includeDeletedUsers | ignored |
pageRequest | start and limit of the page |
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findGroupsByUser(String, PageRequest)
Retrieves a page of groups that the provided user is a member of.
username | the username |
---|---|
pageRequest | the start and limit of the page |
null
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
getUserById(int)
Retrieves a user by its ID
.
id | the user's ID |
---|
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
getUserByName(String, boolean)
name | the user's username |
---|---|
returnDeletedUsers | if true, this method will return StashUser s which have been deleted from the
underlying user store, but still exist in Stash. Deleted users will have only a
minimal set of information (e.g. no email address or display name). |
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
getUserByName(String)
Retrieves a user by its name
.
name | the user's username |
---|
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
findUsersByGroup(String, PageRequest)
Retrieves a page of members of the provided group
groupName | the group |
---|---|
pageRequest | the start and limit of the page |
null
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
isUserInGroup(String, String)
Checks whether the provided user is a member of the provided group
username | the username |
---|---|
group | the group |
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
isUserInGroup(StashUser, String)
Checks whether the provided user is a member of the provided group
user | the username |
---|---|
group | the group |
This method is deprecated.
Deprecated in 2.0 for removal in 3.0. This method has been replaced by
updateUser(String, String)
Update the profile of the current user.
displayName | the user's new display name |
---|---|
the user's new email address |