Package org.nuxeo.elasticsearch.commands
Class IndexingCommandsStacker
java.lang.Object
org.nuxeo.elasticsearch.commands.IndexingCommandsStacker
- Direct Known Subclasses:
ElasticSearchInlineListener
Contains logic to stack ElasticSearch commands depending on Document events This class is mainly here to make testing
easier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract Map<String,IndexingCommands> protected IndexingCommandsgetCommands(DocumentModel doc) protected StringgetDocKey(DocumentModel doc) protected IndexingCommandsprotected booleanisSynchronous(DocumentEventContext docCtx, DocumentModel doc) protected abstract booleanprotected voidstackCommand(DocumentModel doc, String eventId, boolean sync) protected voidstackCommand(DocumentModel doc, DocumentEventContext docCtx, String eventId) voidstackCommand(DocumentEventContext docCtx, String eventId) protected voidStack indexing for folder direct children of the repository root when its ACL changes.
-
Constructor Details
-
IndexingCommandsStacker
public IndexingCommandsStacker()
-
-
Method Details
-
getAllCommands
-
isSyncIndexingByDefault
protected abstract boolean isSyncIndexingByDefault() -
getCommands
-
stackCommand
-
stackCommand
-
isSynchronous
-
stackCommand
-
stackDirectRootChildrenForSecurityUpdate
protected void stackDirectRootChildrenForSecurityUpdate(DocumentModel child, DocumentEventContext docCtx) Stack indexing for folder direct children of the repository root when its ACL changes.- Since:
- 2025.18
-
getOrCreateCommands
-
getDocKey
-