public class DefaultUserDirectoryDataCollector extends Object implements UserDirectoryDataCollector
UserDirectoryDataCollector.DirectoryConfiguration
Constructor and Description |
---|
DefaultUserDirectoryDataCollector(QueryDslAccessor queryDsl) |
Modifier and Type | Method and Description |
---|---|
Map<Long,UserDirectoryDataCollector.DirectoryConfiguration> |
getDirectoriesConfiguration() |
Map<Long,Long> |
getGroupCounts()
Expected SQL query
select directory_id, count(*) from cwd_group group by directory_id;
|
Map<Long,Long> |
getMemberships()
Expected SQL query
select directory_id, membership_type, count(*) from cwd_membership where membership_type LIKE 'GROUP_USER' group by directory_id, membership_type
|
Map<Long,Long> |
getUserCounts()
Expected SQL query
SELECT directory_id, count(*) from cwd_user group by directory_id;
|
public DefaultUserDirectoryDataCollector(QueryDslAccessor queryDsl)
public Map<Long,UserDirectoryDataCollector.DirectoryConfiguration> getDirectoriesConfiguration()
getDirectoriesConfiguration
in interface UserDirectoryDataCollector
public Map<Long,Long> getUserCounts()
getUserCounts
in interface UserDirectoryDataCollector
public Map<Long,Long> getGroupCounts()
getGroupCounts
in interface UserDirectoryDataCollector
public Map<Long,Long> getMemberships()
getMemberships
in interface UserDirectoryDataCollector
Copyright © 2002-2021 Atlassian. All Rights Reserved.