Class ExamAverageAfterCommitListener
java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
ch.tocco.nice2.optional.qualification.impl.entitylistener.ExamAverageAfterCommitListener
- All Implemented Interfaces:
ContextListener
,EntityListener
,CommitListener
,EventListener
The
ExamAverageAfterCommitListener
is listening to modifications on Rating
s. If a rating is
modified, the average rating on the Exam
to which the modified Rating
belongs is updated.-
Constructor Summary
ConstructorDescriptionExamAverageAfterCommitListener
(CommandExecutor commandExecutor, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, InputImportStatus inputImportStatus) -
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
-
ExamAverageAfterCommitListener
public ExamAverageAfterCommitListener(CommandExecutor commandExecutor, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, InputImportStatus inputImportStatus)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTask
in classCollectingAfterCommitListener
-