public class NestedGroupsProviderBuilder extends Object
NestedGroupsProvider
Modifier and Type | Method and Description |
---|---|
NestedGroupsProvider |
build() |
static NestedGroupsProviderBuilder |
create() |
NestedGroupsProviderBuilder |
setBatchSize(int batchSize)
Sets the batch size for membership query.
|
NestedGroupsProviderBuilder |
setProvider(MultipleGroupsProvider provider) |
NestedGroupsProviderBuilder |
setSingleGroupProvider(SingleGroupProvider provider) |
void |
useCache(NestedGroupsCacheProvider cacheProvider,
long directoryId,
boolean isChildrenQuery,
GroupType groupType) |
NestedGroupsProviderBuilder |
useExternalId()
Instructs to use case-sensitive external ids as identifiers.
|
NestedGroupsProviderBuilder |
useGroupName()
Instructs to use case-insensitive group names as identifiers.
|
public static NestedGroupsProviderBuilder create()
public NestedGroupsProviderBuilder setProvider(MultipleGroupsProvider provider)
public NestedGroupsProviderBuilder setSingleGroupProvider(SingleGroupProvider provider)
public NestedGroupsProviderBuilder useGroupName()
public NestedGroupsProviderBuilder useExternalId()
public NestedGroupsProviderBuilder setBatchSize(int batchSize)
batchSize
- maximum number of groups passed to NestedGroupsProvider.getDirectlyRelatedGroups(Collection)
public NestedGroupsProvider build()
public void useCache(NestedGroupsCacheProvider cacheProvider, long directoryId, boolean isChildrenQuery, GroupType groupType)
Copyright © 2021 Atlassian. All rights reserved.