code: public void savePersistentObject(PersistentObject object) {
          final String type = object.getClass().getSimpleName();
          LOG.trace("Trying to create a new " + type);
          dao.saveOrUpdate(object);
          LOG.info("Created the " + type + " with id " + object.getId());
      }
docs: A "generic" method to save an arbitrary {@link PersistentObject}.
  
  @param object