Package org.imixs.workflow.engine.index
Class IndexEvent
java.lang.Object
org.imixs.workflow.engine.index.IndexEvent
The IndexEvent provides a CDI event fired immediately before a document is
indexed by the search service implementation.
An observer CDI bean can change or extend the text content to be indexed. The IndexEvent defines only one event type:
- ON_INDEX_UPDATE - is send immediately before a document will be indexed
- Version:
- 1.0
- Author:
- Ralph Soika
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the document to be indexedint
Returns the textContent for the given document to be indexed.void
setTextContent
(String textContent) Update the textContent for the given document to be indexed.
-
Field Details
-
ON_INDEX_UPDATE
public static final int ON_INDEX_UPDATE- See Also:
-
-
Constructor Details
-
IndexEvent
-
-
Method Details
-
getTextContent
Returns the textContent for the given document to be indexed.- Returns:
-
setTextContent
Update the textContent for the given document to be indexed. -
getEventType
public int getEventType() -
getDocument
Returns the document to be indexed- Returns:
-