use of com.ramussoft.common.journal.command.FormulaCommand in project ramus by Vitaliy-Yakovchuk.
the class JournaledEngine method setCalculateInfo.
@Override
public void setCalculateInfo(CalculateInfo formula) {
CalculateInfo old = deligate.getCalculateInfo(formula.getElementId(), formula.getAttributeId());
deligate.setCalculateInfo(formula);
synchronized (swithJournalLock) {
journal.store(new FormulaCommand(this, old, formula));
}
FormulaEvent event = new FormulaEvent(this, false, old, formula);
formulaChanged(event);
}
Aggregations