Class FilterUsersInAllGroupsQueryCallback
java.lang.Object
com.atlassian.jira.security.groups.FilterUsersInAllGroupsQueryCallback
- All Implemented Interfaces:
QueryCallback<List<FilterUsersInAllGroupsQueryCallback.Result>>
public class FilterUsersInAllGroupsQueryCallback
extends Object
implements QueryCallback<List<FilterUsersInAllGroupsQueryCallback.Result>>
A query-callback that retrieves user names that exist in all groups in a directory.
Usually the set of groups will be a single group or a set of nested groups.
All the rules of Crowd groups are followed, including directory shadowing; nested groups per directory;
inactive users ignored.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionFilterUsersInAllGroupsQueryCallback(Long directoryId, Collection<Long> higherPriorityDirectoryIds, Collection<String> userNames, Collection<String> groupNames, DatabaseConfig dbConfig) Constructor -
Method Summary
-
Constructor Details
-
FilterUsersInAllGroupsQueryCallback
public FilterUsersInAllGroupsQueryCallback(Long directoryId, Collection<Long> higherPriorityDirectoryIds, Collection<String> userNames, Collection<String> groupNames, DatabaseConfig dbConfig) Constructor- Parameters:
directoryId- the directory ID to count withinhigherPriorityDirectoryIds- higher-priority directory IDs, used to filter out shadowed usersgroupNames- the expanded list of nested group namesdbConfig- database config
-
-
Method Details
-
runQuery
- Specified by:
runQueryin interfaceQueryCallback<List<FilterUsersInAllGroupsQueryCallback.Result>>
-