use of io.vertigo.commons.eventbus.EventBusSubscribed in project vertigo by KleeGroup.
the class SearchManagerImpl method onEvent.
/**
* Receive Store event.
* @param storeEvent Store event
*/
@EventBusSubscribed
public void onEvent(final StoreEvent storeEvent) {
final URI uri = storeEvent.getUri();
// On ne traite l'event que si il porte sur un KeyConcept
if (uri.getDefinition().getStereotype() == DtStereotype.KeyConcept && hasIndexDefinitionByKeyConcept(uri.getDefinition())) {
final List<URI<? extends KeyConcept>> list = Collections.singletonList(uri);
markAsDirty(list);
}
}
Aggregations