Search in sources :

Example 1 with CreateQualifierCommand

use of com.ramussoft.common.journal.command.CreateQualifierCommand in project ramus by Vitaliy-Yakovchuk.

the class JournaledEngine method registerCreation.

private Qualifier registerCreation(Qualifier qualifier) {
    synchronized (swithJournalLock) {
        journal.store(new CreateQualifierCommand(this, qualifier));
    }
    QualifierEvent event = new QualifierEvent(this, null, qualifier);
    qualifierCreated(event);
    return qualifier;
}
Also used : QualifierEvent(com.ramussoft.common.event.QualifierEvent) CreateQualifierCommand(com.ramussoft.common.journal.command.CreateQualifierCommand)

Aggregations

QualifierEvent (com.ramussoft.common.event.QualifierEvent)1 CreateQualifierCommand (com.ramussoft.common.journal.command.CreateQualifierCommand)1