Class SeminarPeriodCountEntityListener

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

public class SeminarPeriodCountEntityListener extends CollectingEntityListener
sets number_of_period on template Seminars based on amount of related Events also sets number_of_period to the value of the template a seminar is based on if it is not a template