Class PromotionDataRegistrationListener

java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingEntityListener
ch.tocco.nice2.optional.qualification.impl.entitylistener.PromotionDataRegistrationListener
All Implemented Interfaces:
ContextListener, EntityFacadeListener, CommitListener, EventListener

public class PromotionDataRegistrationListener extends CollectingEntityListener
when the attempts or promotion status on an Evaluation_data or Input_data entity are changed, gather all attempts and promotion status for its user from entities connected to the same Event, and write those from the highest attempt to the Registration of the User