public abstract class IndexingCommandsStacker extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
IndexingCommandsStacker() |
Modifier and Type | Method and Description |
---|---|
protected abstract Map<String,IndexingCommands> |
getAllCommands() |
protected IndexingCommands |
getCommands(DocumentModel doc) |
protected String |
getDocKey(DocumentModel doc) |
protected IndexingCommands |
getOrCreateCommands(DocumentModel doc) |
protected boolean |
isSynchronous(DocumentEventContext docCtx,
DocumentModel doc) |
protected abstract boolean |
isSyncIndexingByDefault() |
void |
stackCommand(DocumentEventContext docCtx,
String eventId) |
protected void |
stackCommand(DocumentModel doc,
String eventId,
boolean sync) |
protected static final org.apache.commons.logging.Log log
public IndexingCommandsStacker()
protected abstract Map<String,IndexingCommands> getAllCommands()
protected abstract boolean isSyncIndexingByDefault()
protected IndexingCommands getCommands(DocumentModel doc)
public void stackCommand(DocumentEventContext docCtx, String eventId)
protected boolean isSynchronous(DocumentEventContext docCtx, DocumentModel doc)
protected void stackCommand(DocumentModel doc, String eventId, boolean sync)
protected IndexingCommands getOrCreateCommands(DocumentModel doc)
protected String getDocKey(DocumentModel doc)
Copyright © 2016 Nuxeo SA. All rights reserved.