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

public class ExamAverageAfterCommitListener extends CollectingAfterCommitListener
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.