Class GroupServiceImpl
- java.lang.Object
-
- com.atlassian.confluence.api.impl.service.people.GroupServiceImpl
-
- All Implemented Interfaces:
GroupService
public class GroupServiceImpl extends Object implements GroupService
- Since:
- 5.10
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
GroupServiceImpl.GroupFinderImpl
class
GroupServiceImpl.GroupValidator
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.api.service.people.GroupService
GroupService.GroupFinder, GroupService.Validator
-
-
Constructor Summary
Constructors Constructor Description GroupServiceImpl(com.atlassian.user.GroupManager groupManager, ConfluenceAccessManager confluenceAccessManager, UserAccessorInternal userAccessor, GroupFactory groupFactory, FinderProxyFactory finderProxyFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupService.GroupFinder
find(Expansion... expansions)
Create a GroupFinder for locating groups, the expansions will be applied to each group that matches the finder.GroupService.Validator
validator()
Get the validator view of the GroupService.
-
-
-
Constructor Detail
-
GroupServiceImpl
public GroupServiceImpl(com.atlassian.user.GroupManager groupManager, ConfluenceAccessManager confluenceAccessManager, UserAccessorInternal userAccessor, GroupFactory groupFactory, FinderProxyFactory finderProxyFactory)
-
-
Method Detail
-
find
public GroupService.GroupFinder find(Expansion... expansions)
Description copied from interface:GroupService
Create 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:
find
in interfaceGroupService
- Returns:
- a groupFinder for locating groups
-
validator
public GroupService.Validator validator()
Description copied from interface:GroupService
Get the validator view of the GroupService.- Specified by:
validator
in interfaceGroupService
- Returns:
- a Validator that can be used to validate service requests.
-
-