Class ChangeEdits.DeleteFile
- java.lang.Object
-
- com.google.gerrit.server.restapi.change.ChangeEdits.DeleteFile
-
- All Implemented Interfaces:
RestCollectionDeleteMissingView<ChangeResource,ChangeEditResource,Input>
,RestCollectionView<ChangeResource,ChangeEditResource,Input>
,RestView<ChangeEditResource>
- Enclosing class:
- ChangeEdits
public static class ChangeEdits.DeleteFile extends Object implements RestCollectionDeleteMissingView<ChangeResource,ChangeEditResource,Input>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<?>
apply(ChangeResource rsrc, IdString id, Input in)
Process the view operation by deleting the resource.
-
-
-
Method Detail
-
apply
public Response<?> apply(ChangeResource rsrc, IdString id, Input in) throws IOException, AuthException, ResourceConflictException, com.google.gwtorm.server.OrmException, PermissionBackendException
Description copied from interface:RestCollectionDeleteMissingView
Process the view operation by deleting the resource.- Specified by:
apply
in interfaceRestCollectionDeleteMissingView<ChangeResource,ChangeEditResource,Input>
- Parameters:
rsrc
- parent resource of the resource that should be deletedin
- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResult
to avoid automatic conversion to JSON. - Throws:
IOException
AuthException
ResourceConflictException
com.google.gwtorm.server.OrmException
PermissionBackendException
-
-