public static class ChangeEdits.DeleteContent extends java.lang.Object implements RestModifyView<ChangeEditResource,ChangeEdits.DeleteContent.Input>
This deletes the file from the repository completely. This is not the same as reverting or restoring a file to its previous contents.
Modifier and Type | Class and Description |
---|---|
static class |
ChangeEdits.DeleteContent.Input |
Modifier and Type | Method and Description |
---|---|
Response<?> |
apply(ChangeControl changeControl,
java.lang.String filePath) |
Response<?> |
apply(ChangeEditResource rsrc,
ChangeEdits.DeleteContent.Input input)
Process the view operation by altering the resource.
|
public Response<?> apply(ChangeEditResource rsrc, ChangeEdits.DeleteContent.Input input) throws AuthException, ResourceConflictException, com.google.gwtorm.server.OrmException, java.io.IOException
RestModifyView
apply
in interface RestModifyView<ChangeEditResource,ChangeEdits.DeleteContent.Input>
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.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.com.google.gwtorm.server.OrmException
java.io.IOException
public Response<?> apply(ChangeControl changeControl, java.lang.String filePath) throws AuthException, java.io.IOException, com.google.gwtorm.server.OrmException, ResourceConflictException
AuthException
java.io.IOException
com.google.gwtorm.server.OrmException
ResourceConflictException