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 |
---|---|
RestModifyView<P,?> |
delete(P parent,
IdString id)
Handle deletion of a child resource by DELETE on the collection.
|
RestModifyView<P,?> 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.