public class IndexEvent extends Object
An observer CDI bean can change or extend the text content to be indexed. The IndexEvent defines only one event type:
| Modifier and Type | Field and Description |
|---|---|
static int |
ON_INDEX_UPDATE |
| Constructor and Description |
|---|
IndexEvent(int eventType,
ItemCollection document) |
| Modifier and Type | Method and Description |
|---|---|
ItemCollection |
getDocument()
Returns the document to be indexed
|
int |
getEventType() |
String |
getTextContent()
Returns the textContent for the given document to be indexed.
|
void |
setTextContent(String textContent)
Update the textContent for the given document to be indexed.
|
public static final int ON_INDEX_UPDATE
public IndexEvent(int eventType,
ItemCollection document)
public String getTextContent()
public void setTextContent(String textContent)
public int getEventType()
public ItemCollection getDocument()
Copyright © 2006–2020 Imixs Software Solutions GmbH. All rights reserved.