Class CalculateContingentsAfterCommitListener

java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
ch.tocco.nice2.optional.contingent.impl.entitylistener.CalculateContingentsAfterCommitListener
All Implemented Interfaces:
ContextListener, EntityListener, CommitListener, EventListener

public class CalculateContingentsAfterCommitListener extends CollectingAfterCommitListener
1. Update contingent and movement total whenever a movement was edited or created 2. Update lesson_balance when a contingent entity was updated (lesson_balance: amount_balance divided by estimation)