public static class ChangeEdits.DeleteFile extends java.lang.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 java.io.IOException, AuthException, BadRequestException, 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.java.io.IOException
AuthException
BadRequestException
ResourceConflictException
PermissionBackendException