public class DeleteSubgroups extends java.lang.Object implements RestModifyView<GroupResource,AddSubgroups.Input>
Modifier and Type | Method and Description |
---|---|
Response<?> |
apply(GroupResource resource,
AddSubgroups.Input input)
Process the view operation by altering the resource.
|
public Response<?> apply(GroupResource resource, AddSubgroups.Input input) throws AuthException, MethodNotAllowedException, UnprocessableEntityException, com.google.gwtorm.server.OrmException, ResourceNotFoundException, java.io.IOException
RestModifyView
apply
in interface RestModifyView<GroupResource,AddSubgroups.Input>
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.MethodNotAllowedException
UnprocessableEntityException
com.google.gwtorm.server.OrmException
ResourceNotFoundException
java.io.IOException