@Override
  public synchronized void delete(Class model, int id) throws ItemNotFound {
    LOG.debug(String.format("Deleting %s:%d", model.getName(), id));
    Object obj = load(model, id);
    try {
      context.getDataStore().remove(obj);
    } catch (PersistenceException e) {
      throw new ServiceFormattedException("Error while removing object from DataStorage", e);
    }
  }
Constructor
@param context View Context instance
contrib/views/pig/src/main/java/org/apache/ambari/view/pig/persistence/DataStoreStorage.java