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.eventcopy.EventCopyExtensionFactory
EventCopyExtensionFactory.AdditionalCopyConfigurations
-
Constructor Summary
ConstructorDescriptionSeminarQualificationEventCopyExtensionFactory
(SeminarQualificationEventCopyExtension extension, OldSeminarQualificationEventCopyExtension oldExtension) -
Method Summary
Modifier and TypeMethodDescriptionget
(PersistenceService persistenceService) PersistenceService only needed as argument whileDelegatingEventCopyExtension
exists TODO remove after all old extensions have been migrated and testedgetName()
TODO remove after all old extensions have been migrated and testedMethods 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.eventcopy.EventCopyExtensionFactory
getExtensionsToRemove
-
Constructor Details
-
SeminarQualificationEventCopyExtensionFactory
public SeminarQualificationEventCopyExtensionFactory(SeminarQualificationEventCopyExtension extension, OldSeminarQualificationEventCopyExtension oldExtension)
-
-
Method Details
-
get
Description copied from interface:EventCopyExtensionFactory
PersistenceService only needed as argument whileDelegatingEventCopyExtension
exists TODO remove after all old extensions have been migrated and tested- Specified by:
get
in interfaceEventCopyExtensionFactory
-
getOldExtension
Description copied from interface:EventCopyExtensionFactory
TODO remove after all old extensions have been migrated and tested- Specified by:
getOldExtension
in interfaceEventCopyExtensionFactory
-
getAdditionalCopyConfigurations
public Collection<EventCopyExtensionFactory.AdditionalCopyConfigurations> getAdditionalCopyConfigurations()- Specified by:
getAdditionalCopyConfigurations
in interfaceEventCopyExtensionFactory
-
getName
- Specified by:
getName
in interfaceEventCopyExtensionFactory
-