code: public int deleteCascade(PreparedQuery<Metadata> preparedDelete)
  			throws SQLException {
  		int count = 0;
  		if (preparedDelete != null) {
  			List<Metadata> metadataList = query(preparedDelete);
  			count = deleteCascade(metadataList);
  		}
  		return count;
  	}
docs: Delete the Metadata matching the prepared query, cascading
  
  @param preparedDelete
  prepared delete query
  @return deleted count
  @throws SQLException
  upon failure