public static class ChangeEdits.Create extends java.lang.Object implements RestModifyView<ChangeResource,ChangeEdits.Put.Input>
Modifier and Type | Method and Description |
---|---|
Response<?> |
apply(ChangeResource resource,
ChangeEdits.Put.Input input)
Process the view operation by altering the resource.
|
public Response<?> apply(ChangeResource resource, ChangeEdits.Put.Input input) throws AuthException, ResourceConflictException, java.io.IOException, com.google.gwtorm.server.OrmException
RestModifyView
apply
in interface RestModifyView<ChangeResource,ChangeEdits.Put.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.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.java.io.IOException
com.google.gwtorm.server.OrmException