Class SeminarQualificationEventCopyExtensionFactory
java.lang.Object
ch.tocco.nice2.optional.seminarqualification.impl.SeminarQualificationEventCopyExtensionFactory
- All Implemented Interfaces:
EventCopyExtensionFactory
@Component
@Order(0)
public class SeminarQualificationEventCopyExtensionFactory
extends Object
implements EventCopyExtensionFactory
since QualificationEventLogicCopyExtension is a bit of a mess, the order of operations between it and
SeminarQualificationEventCopyExtension can be unclear. In general, they look something like this:
1. SeminarQualificationEventCopyExtension#handle adds all Evaluations from previous Seminar_event to the cache
2. QualificationEventLogicCopyExtension#handle copies Evaluations and Inputs from root event, as well as child Evaluations
3. SeminarQualificationEventCopyExtension#copy sets the parent of Evaluations, which works since any new Evaluations are already created
4. QualificationEventLogicCopyExtension#copy copies the rest of the qualification entities
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.event.api.EventCopyExtensionFactory
EventCopyExtensionFactory.AdditionalCopyConfigurations
-
Constructor Summary
ConstructorDescription -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.optional.event.api.EventCopyExtensionFactory
getExtensionsToRemove
-
Constructor Details
-
SeminarQualificationEventCopyExtensionFactory
public SeminarQualificationEventCopyExtensionFactory(SeminarQualificationEventCopyExtension extension)
-
-
Method Details
-
get
- Specified by:
get
in interfaceEventCopyExtensionFactory
-
getAdditionalCopyConfigurations
public Collection<EventCopyExtensionFactory.AdditionalCopyConfigurations> getAdditionalCopyConfigurations()- Specified by:
getAdditionalCopyConfigurations
in interfaceEventCopyExtensionFactory
-
getName
- Specified by:
getName
in interfaceEventCopyExtensionFactory
-