Package com.google.gerrit.server.group
Class PutOwner
- java.lang.Object
-
- com.google.gerrit.server.group.PutOwner
-
- All Implemented Interfaces:
RestModifyView<GroupResource,PutOwner.Input>
,RestView<GroupResource>
public class PutOwner extends Object implements RestModifyView<GroupResource,PutOwner.Input>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PutOwner.Input
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupInfo
apply(GroupResource resource, PutOwner.Input input)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public GroupInfo apply(GroupResource resource, PutOwner.Input input) throws ResourceNotFoundException, MethodNotAllowedException, AuthException, BadRequestException, UnprocessableEntityException, com.google.gwtorm.server.OrmException, IOException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<GroupResource,PutOwner.Input>
- Parameters:
resource
- resource to modify.input
- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
AuthException
- the client is not permitted to access this view.BadRequestException
- the request was incorrectly specified and cannot be handled by this view.ResourceNotFoundException
MethodNotAllowedException
UnprocessableEntityException
com.google.gwtorm.server.OrmException
IOException
-
-