public class CreateGroup extends Object implements RestCollectionCreateView<TopLevelResource,GroupResource,GroupInput>
| Modifier and Type | Method and Description |
|---|---|
CreateGroup |
addOption(ListGroupsOption o) |
CreateGroup |
addOptions(Collection<ListGroupsOption> o) |
GroupInfo |
apply(TopLevelResource resource,
IdString id,
GroupInput input)
Process the view operation by creating the resource.
|
public CreateGroup addOption(ListGroupsOption o)
public CreateGroup addOptions(Collection<ListGroupsOption> o)
public GroupInfo apply(TopLevelResource resource, IdString id, GroupInput input) throws AuthException, BadRequestException, UnprocessableEntityException, ResourceConflictException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, ResourceNotFoundException, PermissionBackendException
RestCollectionCreateViewapply in interface RestCollectionCreateView<TopLevelResource,GroupResource,GroupInput>resource - parent resource of the resource that should be createdinput - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.AuthExceptionBadRequestExceptionUnprocessableEntityExceptionResourceConflictExceptionIOExceptionorg.eclipse.jgit.errors.ConfigInvalidExceptionResourceNotFoundExceptionPermissionBackendException