public class PutStatus extends Object implements RestModifyView<AccountResource,StatusInput>
Modifier and Type | Method and Description |
---|---|
Response<String> |
apply(AccountResource rsrc,
StatusInput input)
Process the view operation by altering the resource.
|
Response<String> |
apply(IdentifiedUser user,
StatusInput input) |
public Response<String> apply(AccountResource rsrc, StatusInput input) throws AuthException, ResourceNotFoundException, com.google.gwtorm.server.OrmException, IOException, PermissionBackendException, org.eclipse.jgit.errors.ConfigInvalidException
RestModifyView
apply
in interface RestModifyView<AccountResource,StatusInput>
rsrc
- 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.ResourceNotFoundException
com.google.gwtorm.server.OrmException
IOException
PermissionBackendException
org.eclipse.jgit.errors.ConfigInvalidException
public Response<String> apply(IdentifiedUser user, StatusInput input) throws ResourceNotFoundException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, com.google.gwtorm.server.OrmException
ResourceNotFoundException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
com.google.gwtorm.server.OrmException