|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UserPickerResourceHelper
Method Summary | |
---|---|
List<com.atlassian.crowd.embedded.api.User> |
findActiveUsers(String searchString)
Finds active users, throws exception if search string is null |
List<com.atlassian.crowd.embedded.api.User> |
findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive)
Finds users, throws exception if search string is null |
List<com.atlassian.crowd.embedded.api.User> |
findUsers(String searchString,
Boolean includeActive,
Boolean includeInactive,
boolean allowEmptySearchString)
Finds users, throws exception if search string is null |
UserPickerResultsBean |
findUsersAsBean(String query,
Integer maxResults,
Boolean showAvatar,
List<String> excludeUsers)
Returns a list of users matching query with highlighting. |
com.atlassian.crowd.embedded.api.User |
getUserByName(String userName)
Returns a user if supplied userName is exact match to their username. |
List<com.atlassian.crowd.embedded.api.User> |
limitUserSearch(Integer startAt,
Integer maxResults,
Iterable<com.atlassian.crowd.embedded.api.User> users,
Iterable<String> excludeUsers)
|
Method Detail |
---|
UserPickerResultsBean findUsersAsBean(String query, Integer maxResults, Boolean showAvatar, List<String> excludeUsers)
query
- A string used to search username, Name or e-mail addressmaxResults
- the maximum number of users to return (defaults to 50). The maximum allowed value is 1000.
If you specify a value that is higher than this number, your search results will be truncated.showAvatar
- get avatar urlexcludeUsers
- exclude these users from search results
List<com.atlassian.crowd.embedded.api.User> limitUserSearch(Integer startAt, Integer maxResults, Iterable<com.atlassian.crowd.embedded.api.User> users, Iterable<String> excludeUsers)
startAt
- start the search at this indexmaxResults
- max resultsusers
- search results to limitexcludeUsers
- exclude these users from search results
List<com.atlassian.crowd.embedded.api.User> findActiveUsers(String searchString)
searchString
- user query
List<com.atlassian.crowd.embedded.api.User> findUsers(String searchString, Boolean includeActive, Boolean includeInactive)
searchString
- user query, no users returned if emptyincludeActive
- whether to include active users (null implies true)includeInactive
- whether to include inactive users (null implies false)
List<com.atlassian.crowd.embedded.api.User> findUsers(String searchString, Boolean includeActive, Boolean includeInactive, boolean allowEmptySearchString)
searchString
- user queryallowEmptySearchString
- controls whether users are returned if searchString is emptyincludeActive
- whether to include active users (null implies true)includeInactive
- whether to include inactive users (null implies false)
com.atlassian.crowd.embedded.api.User getUserByName(String userName)
userName
- The username query
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |