public interface DeleteHelper
| Modifier and Type | Method and Description |
|---|---|
void |
delete(DeletableResource r,
EventManager eventManager)
Delete the resource and any child resources
The implementation should fire delete events for all resources physically
deleted.
|
boolean |
isLockedOut(Request req,
Resource r)
Check if the resource or any child resources are locked or otherwise not
deletable
|
boolean isLockedOut(Request req, Resource r) throws NotAuthorizedException, BadRequestException
req - r - NotAuthorizedExceptionBadRequestExceptionvoid delete(DeletableResource r, EventManager eventManager) throws NotAuthorizedException, ConflictException, BadRequestException
r - NotAuthorizedExceptionConflictExceptionBadRequestExceptionCopyright © 2021 McEvoy Software Ltd. All rights reserved.