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 Ratings. If a rating is
modified, the average rating on the Exam to which the modified Rating belongs is updated.-
Constructor Summary
ConstructorsConstructorDescriptionExamAverageAfterCommitListener(CommandExecutor commandExecutor, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, InputImportStatus inputImportStatus) -
Method Summary
Methods inherited from class CollectingAfterCommitListener
afterCommit, beforeCommit, contextDestroying, customizeMode, entityCreated, entityDeleted, entityUpdated, handleAfterCommit, setFutureCollectorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CommitListener
afterFlush, priorityMethods inherited from interface ContextListener
transactionStarted
-
Constructor Details
-
ExamAverageAfterCommitListener
public ExamAverageAfterCommitListener(CommandExecutor commandExecutor, QueryBuilderFactory queryBuilderFactory, SecurityManager securityManager, InputImportStatus inputImportStatus)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTaskin classCollectingAfterCommitListener
-