Interface GroupService
- All Known Implementing Classes:
- GroupServiceImpl
public interface GroupService
API service for finding user groups in confluence.  Membership of a group can confer
 permissions and the ability to perform various operations to a user.
- Since:
- 5.10
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA finder for locating groupsstatic interface
- 
Method SummaryModifier 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.
- 
Method Details- 
findCreate 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();- Parameters:
- expansions-
- Returns:
- a groupFinder for locating groups
 
- 
validatorGroupService.Validator validator()Get the validator view of the GroupService.- Returns:
- a Validator that can be used to validate service requests.
 
- 
createGroupCreate a newGroupidentified by groupName.- Parameters:
- groupName- The name identifying the new group to create.
- Since:
- 8.2.0
 
- 
deleteGroupDelete an existingGroupidentified by groupName.- Parameters:
- groupName- The name identifying the existing group to delete.
- Since:
- 8.2.0
 
 
-