use of com.ramussoft.common.journal.command.UpdateQualifierCommand in project ramus by Vitaliy-Yakovchuk.
the class JournaledEngine method updateQualifier.
@Override
public void updateQualifier(Qualifier qualifier) {
Qualifier old = getQualifier(qualifier.getId());
QualifierEvent event = new QualifierEvent(this, old, qualifier);
beforeQualifierUpdated(event);
event = new QualifierEvent(this, old, qualifier);
UpdateQualifierCommand command = new UpdateQualifierCommand(this, old, qualifier);
deligate.updateQualifier(qualifier);
synchronized (swithJournalLock) {
journal.store(command);
}
updateElementNames(old, qualifier);
qualifierUpdated(event);
}
Aggregations