org.nuxeo.ecm.core.storage.sql.coremodel
Class BinaryTextListener
java.lang.Object
org.nuxeo.ecm.core.storage.sql.coremodel.BinaryTextListener
- All Implemented Interfaces:
- PostCommitEventListener
public class BinaryTextListener
- extends java.lang.Object
- implements PostCommitEventListener
Listener that does fulltext extraction from the blobs of documents whose ids
have been recorded in the bundle's events.
- Author:
- Florent Guillaume, Stephane Lacoin
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_NAME
public static final java.lang.String EVENT_NAME
- See Also:
- Constant Field Values
BinaryTextListener
public BinaryTextListener()
throws ClientException
- Throws:
ClientException
handleEvent
public void handleEvent(EventBundle eventBundle)
throws ClientException
- Description copied from interface:
PostCommitEventListener
- Handles the set of events that were raised during the life of an user
operation.
The events are fired as a BundleEvent
after the transaction is
committed.
- Specified by:
handleEvent
in interface PostCommitEventListener
- Parameters:
eventBundle
- the events to handle
- Throws:
ClientException
getFulltextIndexSuffix
public java.lang.String getFulltextIndexSuffix(java.lang.String indexName)
Copyright © 2010 Nuxeo SAS. All Rights Reserved.