Class GroupServiceImpl
java.lang.Object
com.atlassian.confluence.api.impl.service.people.GroupServiceImpl
- All Implemented Interfaces:
GroupService
- Since:
- 5.10
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassclassNested classes/interfaces inherited from interface com.atlassian.confluence.api.service.people.GroupService
GroupService.GroupFinder, GroupService.Validator -
Constructor Summary
ConstructorsConstructorDescriptionGroupServiceImpl(GroupManagerInternal groupManager, ConfluenceAccessManager confluenceAccessManager, UserAccessorInternal userAccessor, GroupFactory groupFactory, FinderProxyFactory finderProxyFactory, PermissionManager permissionManager, DefaultWritableDirectoryForGroupsExistsCriteria writableDirectoryForGroupsExistsCriteria, SpacePermissionManager spacePermissionManager, CrowdDirectoryEntityHelper crowdDirectoryEntityHelper, ScopesRequestCacheDelegate scopesRequestCacheDelegate) -
Method Summary
Modifier and TypeMethodDescriptioncreateGroup(String groupName) Create a newGroupidentified by groupName.voiddeleteGroup(String groupName) Delete an existingGroupidentified by groupName.Create a GroupFinder for locating groups, the expansions will be applied to each group that matches the finder.Get the validator view of the GroupService.
-
Constructor Details
-
GroupServiceImpl
public GroupServiceImpl(GroupManagerInternal groupManager, ConfluenceAccessManager confluenceAccessManager, UserAccessorInternal userAccessor, GroupFactory groupFactory, FinderProxyFactory finderProxyFactory, PermissionManager permissionManager, DefaultWritableDirectoryForGroupsExistsCriteria writableDirectoryForGroupsExistsCriteria, SpacePermissionManager spacePermissionManager, CrowdDirectoryEntityHelper crowdDirectoryEntityHelper, ScopesRequestCacheDelegate scopesRequestCacheDelegate)
-
-
Method Details
-
find
Description copied from interface:GroupServiceCreate a GroupFinder for locating groups, the expansions will be applied to each group that matches the finder. No expansions are currently supported on groups. Groups will be retrieved by using the fetch methods on the returned GroupFinder.For example, to fetch a group called "developers"
groupService.find() .withName("developers") .fetchOneOrNull();- Specified by:
findin interfaceGroupService- Returns:
- a groupFinder for locating groups
-
createGroup
Description copied from interface:GroupServiceCreate a newGroupidentified by groupName.- Specified by:
createGroupin interfaceGroupService- Parameters:
groupName- The name identifying the new group to create.
-
deleteGroup
Description copied from interface:GroupServiceDelete an existingGroupidentified by groupName.- Specified by:
deleteGroupin interfaceGroupService- Parameters:
groupName- The name identifying the existing group to delete.
-
validator
Description copied from interface:GroupServiceGet the validator view of the GroupService.- Specified by:
validatorin interfaceGroupService- Returns:
- a Validator that can be used to validate service requests.
-