apply
public GroupInfo apply(GroupResource resource,
IdString id,
AddSubgroups.Input input)
throws AuthException,
MethodNotAllowedException,
ResourceNotFoundException,
IOException,
org.eclipse.jgit.errors.ConfigInvalidException,
PermissionBackendException
Process the view operation by creating the resource.
- Specified by:
apply
in interface RestCollectionCreateView<GroupResource,SubgroupResource,AddSubgroups.Input>
- Parameters:
resource
- parent resource of the resource that should be created
input
- input after parsing from request.
- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion
to JSON.
- Throws:
AuthException
MethodNotAllowedException
ResourceNotFoundException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException