setId(null);
  public final String delete() throws FatalFacesException {    LOG.debug("InstanceHandler.delete() called");    LOG.debug("persistentBean: " + getInstance());    AsyncCrudDao dao = getAsyncCrudDao();    try {      try {        checkConditions(VIEWMODE_DISPLAY); // ConditionException        dao.startTransaction(); // TechnicalException        dao.deletePersistentBean(getInstance()); // TechnicalException        dao.commitTransaction(getInstance());// TechnicalException, CompoundPropertyException        assert getInstance().getId() == null;        setViewMode(VIEWMODE_DELETED);        return getNavigationString();      }      catch(ConditionException exc) {        return exc.getNavigationString();      }      catch (CompoundPropertyException cpExc) {        LOG.debug("delete action failed; cancelling ...", cpExc);        dao.cancelTransaction(); // TechnicalException        LOG.debug("delete action cancelled; using exception as faces message");        RobustCurrent.showCompoundPropertyException(cpExc);        setViewMode(VIEWMODE_DISPLAY);        return null;      }    }    catch(TechnicalException exc) {      RobustCurrent.fatalProblem("Could not delete " + getInstance(), exc, LOG);      return null;    }  }