class ArtifactResourceProvider extends AbstractResourceProvider {

  @Override
  public RequestStatus deleteResources(Request request, Predicate predicate)
      throws SystemException,
             UnsupportedPropertyException,
             NoSuchResourceException,
             NoSuchParentResourceException {

    // get resources to update
    Set<Resource> setResources = getResources(
        new RequestImpl(null, null, null, null), predicate);

    for (final Resource resource : setResources) {
      modifyResources(getDeleteCommand(resource));
    }

    notifyDelete(Resource.Type.Artifact, predicate);
    return getRequestStatus(null);
  }

  @Inject protected  ArtifactResourceProvider(AmbariManagementController controller);

}