code: private boolean delete(final String resourceId) {
      final boolean isDeleted = this.storage.delete(resourceId) && removeDbEntry(resourceId);
      if (!isDeleted) {
        log.info("Failed to delete resourceId: " + resourceId);
      }
      return isDeleted;
    }
docs: Main Delete Utility.
  
  Delete the storage first. Then remove metadata from DB. Warning! This order cannot be reversed
  since if the metadata is lost, there is no reference of the storage blob.
  
  @param resourceId the storage key to be deleted.
  @return true if deletion was successful. false otherwise