Search in sources :

Example 1 with DocumentSetUpdatedEvent

use of org.obiba.mica.core.event.DocumentSetUpdatedEvent in project mica2 by obiba.

the class DocumentSetService method save.

private DocumentSet save(DocumentSet documentSet, Set<String> removedIdentifiers) {
    DocumentSet saved = saveInternal(documentSet);
    eventBus.post(new DocumentSetUpdatedEvent(saved, removedIdentifiers));
    return saved;
}
Also used : DocumentSetUpdatedEvent(org.obiba.mica.core.event.DocumentSetUpdatedEvent) DocumentSet(org.obiba.mica.core.domain.DocumentSet)

Aggregations

DocumentSet (org.obiba.mica.core.domain.DocumentSet)1 DocumentSetUpdatedEvent (org.obiba.mica.core.event.DocumentSetUpdatedEvent)1