Package ch.tocco.nice2.optional.seminar.impl.entitylistener
package ch.tocco.nice2.optional.seminar.impl.entitylistener
-
ClassDescriptionadjust seminarIsTemplate state on Seminar if all events from one seminar have the same statesets period_nr and relPeriod on events based on the top-most event in their module hierarchy removes period_nr and relPeriod when their relation to relevant modules or seminars is removedrecursively sets relSeminar and relSeminar_is_template on events based on their related Seminar updates relSeminar_is_template recursively on all related Events of a Seminar removes relSeminar and relSeminar_is_template when their relation to relevant modules or seminars is removedsets 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