java.lang.Object | |
↳ | com.atlassian.jira.bc.user.search.DefaultUserPickerSearchService |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns true only if UserPicker Ajax search is enabled AND the user in the context has com.atlassian.jira.user.ApplicationUser Browse permission.
| |||||||||||
Determines whether the given user could perform AJAX search.
| |||||||||||
Whether or not the UserPicker Ajax should search or show email addresses
| |||||||||||
Searches for a user with the specified e-mail address.
| |||||||||||
Searches for a user with the specified full name.
| |||||||||||
Get user names based on query strings.
| |||||||||||
Get user names 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.
| |||||||||||
Get Users based on query strings.
| |||||||||||
Get Users based on a query string.
| |||||||||||
Searches for a user with the specified e-mail address.
| |||||||||||
Searches for a user with the specified full name.
| |||||||||||
Returns a user by exact username
| |||||||||||
Determine whether a user matches the search criteria specified in the
userSearchParams parameter. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns true only if UserPicker Ajax search is enabled AND the user in the context has com.atlassian.jira.user.ApplicationUser Browse permission.
jiraServiceContext | Jira Service Context |
---|
Determines whether the given user could perform AJAX search.
Whether or not the UserPicker Ajax should search or show email addresses
jiraServiceContext | Jira Service Context |
---|
Searches for a user with the specified e-mail address.
the e-mail address to search. |
Searches for a user with the specified full name.
fullName | the full name to search for. |
---|
Get user names based on query strings.
Matches nameQuery on start of username, full name and email as well as all the tokenised (on spaces, '.', '@' etc) words
Matches emailQuery on start of email, as well as the tokenised words. Email matching is performed only when userSearchParams.canMatchEmail() is true. If email matching is enabled, nameQuery AND emailQuery criteria must match returned users.
If the users in the database change during this call results might not be consistent if a
post processing filter
and a result limit is used.
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 user names based on a query string.
Matches on start of username, full name and email as well as all the tokenised (on spaces, '.', '@' etc) words
Matches email only when userSearchParams.canMatchEmail() is true.
If the users in the database change during this call results might not be consistent if a
post processing filter
and a result limit is used.
query | the query to search username, display name and email address |
---|---|
userSearchParams | the search criteria |
Get Users based on a query string.
Matches on start of username, full name and email as well as all the tokenised (on spaces, '.', '@' etc) words
Results are sorted according to the UserCachingComparator
.
If the users in the database change during this call results might not be consistent if a
post processing filter
and a result limit is used.
jiraServiceContext | Jira Service Context |
---|---|
query | String to search for. |
userSearchParams | Additional search parameters |
ApplicationUser
objects that match criteria.Get Users based on a query string.
Matches on start of username, full name and email as well as all the tokenised (on spaces, '.', '@' etc) words Only returns active users.
Results are sorted according to the UserCachingComparator
.
jiraServiceContext | Jira Service Context |
---|---|
query | String to search for. |
ApplicationUser
objects that match criteria.Get Users based on a query string.
Matches on start of username, full name and email as well as all the tokenised (on spaces, '.', '@' etc) words
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.
If the users in the database change during this call results might not be consistent if a
post processing filter
and a result limit is used.
query | the query to search username, display name and email address |
---|---|
userSearchParams | the search criteria |
Get Users based on query strings.
Matches nameQuery on start of username, full name and email as well as all the tokenised (on spaces, '.', '@' etc) words
Matches emailQuery on start of email, as well as the tokenised words. 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.
If the users in the database change during this call results might not be consistent if a
post processing filter
and a result limit is used.
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 start of username, full name and email as well as all the tokenised (on spaces, '.', '@' etc) words 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. |
ApplicationUser
objects that match criteria.Searches for a user with the specified e-mail address.
the e-mail address to search. |
Searches for a user with the specified full name.
fullName | the full name to search for. |
---|
Returns a user by exact username
jiraServiceContext | Jira Service Context |
---|---|
query | String to search for. |
ApplicationUser
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 |