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