Class EducationalObjectiveEventLogicCopyExtension
java.lang.Object
ch.tocco.nice2.optional.educationschedule.impl.actions.logiccopy.EducationalObjectiveEventLogicCopyExtension
- All Implemented Interfaces:
EventCopyExtension
public class EducationalObjectiveEventLogicCopyExtension
extends Object
implements EventCopyExtension
Copies educational_objectives from an existing event a created event
used when a seminar is started or lifted, or a event is logic copied
used instead of EducationalObjectiveEventLogicCopyExtension from reservation when educationschedule is installed
-
Constructor Summary
ConstructorDescriptionEducationalObjectiveEventLogicCopyExtension
(SecurityManager securityManager, LogicCopyService logicCopyService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(Entity courseEntity, Entity copiedCourseEntity, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap, Map<Entity, Entity> originalAndCopiedEntitiesMap) does the additional copy logicvoid
handle
(Entity eventEntity, Entity copiedEventEntity, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap) prepare copy
-
Constructor Details
-
EducationalObjectiveEventLogicCopyExtension
public EducationalObjectiveEventLogicCopyExtension(SecurityManager securityManager, LogicCopyService logicCopyService)
-
-
Method Details
-
copy
public void copy(Entity courseEntity, Entity copiedCourseEntity, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap, Map<Entity, Entity> originalAndCopiedEntitiesMap) Description copied from interface:EventCopyExtension
does the additional copy logic- Specified by:
copy
in interfaceEventCopyExtension
- Parameters:
courseEntity
- original EntitycopiedCourseEntity
- copied Entityconfigs
- String: id of the extension, Boolean: active or not
-
handle
public void handle(Entity eventEntity, Entity copiedEventEntity, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap) Description copied from interface:EventCopyExtension
prepare copy- Specified by:
handle
in interfaceEventCopyExtension
- Parameters:
eventEntity
- the original EntitycopiedEventEntity
- copied Entityconfigs
- String: id of the extension, Boolean: active or not
-