apply
public AccountInfo apply(GroupResource resource,
IdString id,
AddMembers.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,MemberResource,AddMembers.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