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