Class FulltextIndexEntityListener
java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
ch.tocco.nice2.enterprisesearch.impl.listener.FulltextIndexEntityListener
- All Implemented Interfaces:
ContextListener
,EntityListener
,CommitListener
,EventListener
This listener handles all create, update and delete actions of any entity type.
The index service decides if a specific entity type should be handled or not
(exception: entity types with index priority -1 are skipped here already to
avoid unnecessary DB queries).
-
Constructor Summary
ConstructorDescriptionFulltextIndexEntityListener
(Context context, CommandExecutor commandExecutor, SecurityManager securityManager, FulltextIndexService fulltextIndexService, PersistenceService persistenceService) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
afterCommit, beforeCommit, contextDestroying, customizeMode, entityCreated, entityDeleted, entityUpdated, handleAfterCommit, setFutureCollector
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.util.CommitListener
afterFlush, priority
Methods inherited from interface ch.tocco.nice2.persist.core.api.ContextListener
transactionStarted
-
Constructor Details
-
FulltextIndexEntityListener
public FulltextIndexEntityListener(Context context, CommandExecutor commandExecutor, SecurityManager securityManager, FulltextIndexService fulltextIndexService, PersistenceService persistenceService)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTask
in classCollectingAfterCommitListener
-