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
ConstructorsConstructorDescriptionFulltextIndexEntityListener(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, setFutureCollectorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ch.tocco.nice2.persist.core.api.util.CommitListener
afterFlush, priorityMethods inherited from interface ch.tocco.nice2.persist.core.api.ContextListener
transactionStarted
-
Constructor Details
-
FulltextIndexEntityListener
public FulltextIndexEntityListener(CommandExecutor commandExecutor, SecurityManager securityManager, FulltextIndexService fulltextIndexService, PersistenceService persistenceService)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTaskin classCollectingAfterCommitListener
-