public class PutOwner extends java.lang.Object implements RestModifyView<GroupResource,OwnerInput>
Modifier and Type | Method and Description |
---|---|
GroupInfo |
apply(GroupResource resource,
OwnerInput input)
Process the view operation by altering the resource.
|
public GroupInfo apply(GroupResource resource, OwnerInput input) throws ResourceNotFoundException, com.google.gerrit.server.restapi.group.NotInternalGroupException, AuthException, BadRequestException, UnprocessableEntityException, java.io.IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException
RestModifyView
apply
in interface RestModifyView<GroupResource,OwnerInput>
resource
- resource to modify.input
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this
view.ResourceNotFoundException
com.google.gerrit.server.restapi.group.NotInternalGroupException
UnprocessableEntityException
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException