public interface JiraCrowdDAO
Modifier and Type | Method and Description |
---|---|
List<UserDTO> |
findMatchingUsers(Collection<String> usernames,
String searchName)
Returns the list of
UserDTO s whose username belongs to usernames and who's first name, last name,
username or display name (see QueryDslJiraCrowdDAO.userSearchPredicate(java.lang.String) ) matches searchName . |
Set<com.atlassian.crowd.embedded.api.Group> |
findNestedGroupsOf(Set<com.atlassian.crowd.embedded.api.Group> groups)
Find all nested groups for a given set of
Group |
List<UserDTO> |
findTopUsers(String searchName,
int topN)
Finds top
topN active users (from all active directories) where user name matches searchName |
List<UserDTO> |
findTopUsersWithNameInGroups(String searchName,
Set<com.atlassian.crowd.embedded.api.Group> groups,
int topN)
Finds top
topN active users (from all active directories) whose user name matches searchName
and who belong to any group in: groupNames . |
List<UserDTO> findMatchingUsers(Collection<String> usernames, String searchName)
UserDTO
s whose username belongs to usernames
and who's first name, last name,
username or display name (see QueryDslJiraCrowdDAO.userSearchPredicate(java.lang.String)
) matches searchName
.List<UserDTO> findTopUsersWithNameInGroups(String searchName, Set<com.atlassian.crowd.embedded.api.Group> groups, int topN)
topN
active users (from all active directories) whose user name matches searchName
and who belong to any group in: groupNames
.searchName
- part of user name (comparison is case insensitive)groups
- set of grouptopN
- NUser
matching requirements ordered ascending by user display nameList<UserDTO> findTopUsers(String searchName, int topN)
topN
active users (from all active directories) where user name matches searchName
searchName
- part of user name (comparison is case insensitive)topN
- NUser
matching requirements ordered ascending by user display nameCopyright © 2002-2021 Atlassian. All Rights Reserved.