public class PutActive extends java.lang.Object implements RestModifyView<AccountResource,PutActive.Input>
Modifier and Type | Class and Description |
---|---|
static class |
PutActive.Input |
Modifier and Type | Method and Description |
---|---|
Response<java.lang.String> |
apply(AccountResource rsrc,
PutActive.Input input)
Process the view operation by altering the resource.
|
public Response<java.lang.String> apply(AccountResource rsrc, PutActive.Input input) throws ResourceNotFoundException, com.google.gwtorm.server.OrmException, java.io.IOException
RestModifyView
apply
in interface RestModifyView<AccountResource,PutActive.Input>
rsrc
- resource to modify.input
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.ResourceNotFoundException
com.google.gwtorm.server.OrmException
java.io.IOException