public static class ChangeEdits.DeleteFile extends Object implements RestCollectionDeleteMissingView<ChangeResource,ChangeEditResource,Input>
Modifier and Type | Method and Description |
---|---|
Response<?> |
apply(ChangeResource rsrc,
IdString id,
Input in)
Process the view operation by deleting the resource.
|
public Response<?> apply(ChangeResource rsrc, IdString id, Input in) throws IOException, AuthException, ResourceConflictException, PermissionBackendException
RestCollectionDeleteMissingView
apply
in interface RestCollectionDeleteMissingView<ChangeResource,ChangeEditResource,Input>
rsrc
- parent resource of the resource that should be deletedin
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.IOException
AuthException
ResourceConflictException
PermissionBackendException