Class NestedGroupsProviderBuilder
java.lang.Object
com.atlassian.crowd.manager.directory.nestedgroups.NestedGroupsProviderBuilder
Builder class for
NestedGroupsProvider
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static NestedGroupsProviderBuilder
create()
setBatchSize
(int batchSize) Sets the batch size for membership query.setProvider
(MultipleGroupsProvider provider) setSingleGroupProvider
(SingleGroupProvider provider) void
useCache
(NestedGroupsCacheProvider cacheProvider, long directoryId, boolean isChildrenQuery, GroupType groupType) Instructs to use case-sensitive external ids as identifiers.Instructs to use case-insensitive group names as identifiers.
-
Method Details
-
create
-
setProvider
-
setSingleGroupProvider
-
useGroupName
Instructs to use case-insensitive group names as identifiers. -
useExternalId
Instructs to use case-sensitive external ids as identifiers. -
setBatchSize
Sets the batch size for membership query.- Parameters:
batchSize
- maximum number of groups passed toNestedGroupsProvider.getDirectlyRelatedGroups(Collection)
-
build
-
useCache
public void useCache(NestedGroupsCacheProvider cacheProvider, long directoryId, boolean isChildrenQuery, GroupType groupType)
-