com.atlassian.jira.bc.user.search.UserPickerSearchService |
Known Indirect Subclasses |
Clients of @PublicApi
can expect
that programs compiled against a given version will remain binary compatible with later versions of the
@PublicApi
as per each product's API policy as long as the client does not implement/extend
@PublicApi
interfaces or classes (refer to each product's API policy for the exact
guarantee---usually binary compatibility is guaranteed at least across minor versions).
@PublicApi
interfaces and classes are not designed to be implemented or extended by clients,
we may perform certain types of binary-incompatible changes to these classes and interfaces, but these will not
affect well-behaved clients that do not extend/implement these types (in general, only classes and interfaces
annotated with @PublicSpi
are safe to extend/implement).
Service that retrieves a collection of User objects based on a partial query string
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determines whether the given user could perform AJAX search.
| |||||||||||
This method is deprecated.
since v6.2. Use
canPerformAjaxSearch(com.atlassian.jira.user.ApplicationUser) instead.
| |||||||||||
Returns true only if UserPicker Ajax search is enabled AND the user in the context has User Browse permission.
| |||||||||||
Whether or not the UserPicker Ajax should search or show email addresses
| |||||||||||
Get Users based on query strings.
| |||||||||||
Get Users based on a query string.
| |||||||||||
Get Users based on a query string.
| |||||||||||
Get Users based on a query string.
| |||||||||||
Get Users based on a query string.
| |||||||||||
Returns a user by exact username
| |||||||||||
Determine whether a user matches the search criteria specified in the
userSearchParams parameter. |
Determines whether the given user could perform AJAX search.
This method is deprecated.
since v6.2. Use canPerformAjaxSearch(com.atlassian.jira.user.ApplicationUser)
instead.
Returns true only if UserPicker Ajax search is enabled AND the user in the context has User Browse permission.
jiraServiceContext | Jira Service Context |
---|
Whether or not the UserPicker Ajax should search or show email addresses
jiraServiceContext | Jira Service Context |
---|
Get Users based on query strings.
Matches nameQuery on the start of username and each word in Full Name & email.
Matches emailQuery on start of email. Email matching is performed only when userSearchParams.canMatchEmail() is true. Results are sorted according to the userSearchParams.comparator. If userSearchParams.comparator is null, no sorting will be performed.
nameQuery | the query to search username and display name. |
---|---|
emailQuery | the query to search email address, subject to userSearchParams.canMatchEmail. |
userSearchParams | the search criteria |
Get Users based on a query string.
Matches on the start of username and each word in Full Name & email.
Results are sorted according to the UserCachingComparator
.
jiraServiceContext | Jira Service Context |
---|---|
query | String to search for. |
userSearchParams | Additional search parameters |
User
objects that match criteria.Get Users based on a query string.
Matches on the start of username and each word in Full Name & email.
Matches email only when userSearchParams.canMatchEmail() is true. Results are sorted according to the userSearchParams.comparator. If userSearchParams.comparator is null, no sorting will be performed.
query | the query to search username, display name and email address |
---|---|
userSearchParams | the search criteria |
Get Users based on a query string.
Matches on the start of username and each word in Full Name & email. Only returns active users.
Results are sorted according to the UserCachingComparator
.
jiraServiceContext | Jira Service Context |
---|---|
query | String to search for. |
User
objects that match criteria.Get Users based on a query string.
Matches on the start of username and each word in Full Name & email. This will search even if the query passed is null or empty. Only returns active users.
Results are sorted according to the UserCachingComparator
.
jiraServiceContext | Jira Service Context |
---|---|
query | String to search for. |
User
objects that match criteria.Returns a user by exact username
jiraServiceContext | Jira Service Context |
---|---|
query | String to search for. |
User
object with supplied username.
Determine whether a user matches the search criteria specified in the userSearchParams
parameter.
allowEmptyQuery in userSearchParams
is ignored.
user | the user to be matched |
---|---|
userSearchParams | the search criteria |