public interface AcceptsDelete<P extends RestResource>
RestCollection.
Collections that implement this interface can accept a DELETE directly on the
collection itself.
| Modifier and Type | Method and Description |
|---|---|
<I> RestModifyView<P,I> |
delete(P parent,
IdString id)
Handle deletion of a child resource by DELETE on the collection.
|
<I> RestModifyView<P,I> delete(P parent, IdString id) throws RestApiException
parent - parent collection handle.id - id of the resource being created (optional).RestApiException - the view cannot be constructed.