public abstract class AbstractDenormalizationESListener extends Object implements ICustomESListener
| Constructor and Description |
|---|
AbstractDenormalizationESListener()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
customStackCommands(org.nuxeo.ecm.core.event.impl.DocumentEventContext docCtx,
String eventId)
Custom indexing method.
|
ESInlineListenerCustomizer |
getEsInlineListener() |
protected boolean |
needToReIndex(org.nuxeo.ecm.core.event.impl.DocumentEventContext context,
String eventId) |
protected abstract boolean |
needToReIndex(org.nuxeo.ecm.core.api.DocumentModel sourceDocument,
String eventId) |
void |
setESInlineListener(ESInlineListenerCustomizer esListener)
Set the root listener.
|
protected abstract void |
stackCommands(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel sourceDocument,
String eventId)
Stacks commands of reindexation of linked docs.
|
public AbstractDenormalizationESListener()
public ESInlineListenerCustomizer getEsInlineListener()
public void setESInlineListener(ESInlineListenerCustomizer esListener)
setESInlineListener in interface ICustomESListenerprotected abstract boolean needToReIndex(org.nuxeo.ecm.core.api.DocumentModel sourceDocument,
String eventId)
sourceDocument - protected boolean needToReIndex(org.nuxeo.ecm.core.event.impl.DocumentEventContext context,
String eventId)
public void customStackCommands(org.nuxeo.ecm.core.event.impl.DocumentEventContext docCtx,
String eventId)
customStackCommands in interface ICustomESListenerprotected abstract void stackCommands(org.nuxeo.ecm.core.api.CoreSession session,
org.nuxeo.ecm.core.api.DocumentModel sourceDocument,
String eventId)
session - sourceDocument - eventId - Copyright © 2019. All rights reserved.