public class DeleteHelperImpl extends Object implements DeleteHelper
| Constructor and Description |
|---|
DeleteHelperImpl(HandlerHelper handlerHelper) |
| 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
|
public DeleteHelperImpl(HandlerHelper handlerHelper)
public boolean isLockedOut(Request req, Resource r) throws NotAuthorizedException, BadRequestException
DeleteHelperisLockedOut in interface DeleteHelperNotAuthorizedExceptionBadRequestExceptionpublic void delete(DeletableResource r, EventManager eventManager) throws NotAuthorizedException, ConflictException, BadRequestException
DeleteHelperdelete in interface DeleteHelperNotAuthorizedExceptionConflictExceptionBadRequestExceptionCopyright © 2021 McEvoy Software Ltd. All rights reserved.