188189190191192193194195196197198
if (executed) { setStatus("executed"); if (getTransaction() == null) { DomainModel domainModel = (DomainModel) getSession() .getDomainModel(); domainModel.notifyObservers(this); } } return executed; }
224225226227228229230231232233234
if (undone) { setStatus("undone"); if (getTransaction() == null) { DomainModel domainModel = (DomainModel) getSession() .getDomainModel(); domainModel.notifyObservers(this); } } return undone; }
96979899100101102103104105106
throw new ActionException(error, this); } boolean executed = actions.executeAll(); if (executed) { setStatus("executed"); domainModel.notifyObservers(this); } else { actions.undoAll(); } return executed; }
118119120121122123124125126127128
boolean undone = actions.undoAll(); if (undone) { setStatus("undone"); DomainModel domainModel = (DomainModel) getSession() .getDomainModel(); domainModel.notifyObservers(this); } else { actions.executeAll(); } return undone; }