public class

GetUsersInGroupQueryCallback

extends Object
implements QueryCallback<T>
java.lang.Object
   ↳ com.atlassian.jira.security.groups.GetUsersInGroupQueryCallback

Class Overview

A query-callback that retrieves user names in a (set of) groups within 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.

Summary

Public Constructors
GetUsersInGroupQueryCallback(Long directoryId, Collection<Long> higherPriorityDirectoryIds, Collection<String> groupNames, int limit, DatabaseConfig dbConfig)
Constructor
Public Methods
List<String> runQuery(DbConnection dbConnection)
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.database.QueryCallback

Public Constructors

public GetUsersInGroupQueryCallback (Long directoryId, Collection<Long> higherPriorityDirectoryIds, Collection<String> groupNames, int limit, DatabaseConfig dbConfig)

Constructor

Parameters
directoryId the directory ID to count within
higherPriorityDirectoryIds higher-priority directory IDs, used to filter out shadowed users
groupNames the expanded list of nested group names
dbConfig database config

Public Methods

public List<String> runQuery (DbConnection dbConnection)