public class ESInlineListenerCustomizer
extends org.nuxeo.elasticsearch.listener.ElasticSearchInlineListener
| Constructor and Description |
|---|
ESInlineListenerCustomizer() |
| Modifier and Type | Method and Description |
|---|---|
static ESCustomizersServiceRegistry |
getESCustomizersServiceRegistry() |
org.nuxeo.elasticsearch.commands.IndexingCommands |
getOrCreateCommands(org.nuxeo.ecm.core.api.DocumentModel doc) |
void |
handleEvent(org.nuxeo.ecm.core.event.Event event)
Override method to add custom stack commands.
|
void |
stackCommand(org.nuxeo.ecm.core.api.DocumentModel doc,
String eventId,
boolean sync) |
afterCompletion, beforeCompletion, getAllCommands, isSyncIndexingByDefault, registerSynchronizationpublic static ESCustomizersServiceRegistry getESCustomizersServiceRegistry()
public void handleEvent(org.nuxeo.ecm.core.event.Event event)
throws org.nuxeo.ecm.core.api.ClientException
handleEvent in interface org.nuxeo.ecm.core.event.EventListenerhandleEvent in class org.nuxeo.elasticsearch.listener.ElasticSearchInlineListenerorg.nuxeo.ecm.core.api.ClientExceptionpublic void stackCommand(org.nuxeo.ecm.core.api.DocumentModel doc,
String eventId,
boolean sync)
stackCommand in class org.nuxeo.elasticsearch.commands.IndexingCommandsStackerpublic org.nuxeo.elasticsearch.commands.IndexingCommands getOrCreateCommands(org.nuxeo.ecm.core.api.DocumentModel doc)
getOrCreateCommands in class org.nuxeo.elasticsearch.commands.IndexingCommandsStackerCopyright © 2019. All rights reserved.