Interface RemoteGroupService
-
- All Known Implementing Classes:
RemoteGroupServiceImpl
public interface RemoteGroupServiceGroupServiceimplementation that communicates with Confluence remotely using the Confluence REST API.Provides future returning equivalents for the methods in GroupService.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceRemoteGroupService.RemoteGroupFinder
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletionStage<Group>createGroup(String groupName)Send request to create a groupCompletionStage<Void>deleteGroup(String groupName)Send request to delete a group by its nameRemoteGroupService.RemoteGroupFinderfind(Expansion... expansions)GroupService.Validatorvalidator()
-
-
-
Method Detail
-
validator
GroupService.Validator validator()
-
find
RemoteGroupService.RemoteGroupFinder find(Expansion... expansions)
- Returns:
- a finder for executing remote GET calls to the group API
-
createGroup
CompletionStage<Group> createGroup(String groupName)
Send request to create a group- Parameters:
groupName-- Returns:
- a group entity
Group - Since:
- 8.2.0
-
deleteGroup
CompletionStage<Void> deleteGroup(String groupName)
Send request to delete a group by its name- Parameters:
groupName-- Returns:
- empty body
- Since:
- 8.2.0
-
-