Interface EventCopyExtension
- All Known Implementing Classes:
EducationalObjectiveEventLogicCopyExtension
,QualificationEventLogicCopyExtension
,RegistrationEventCopyExtensionFactory.RegistrationEventCopyExtension
,ReservationEducationalObjectiveEventLogicCopyExtension
,SeminarQualificationEventCopyExtension
public interface EventCopyExtension
make it possible to extend the eventLogicCopyAction with additional functionality
example: qualificationEventLogicCopyExtension
-
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
-
Method Details
-
copy
void 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 logic- Parameters:
courseEntity
- original EntitycopiedCourseEntity
- copied Entityconfigs
- String: id of the extension, Boolean: active or not
-
handle
void handle(Entity eventEntity, Entity copiedEventEntity, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap) prepare copy- Parameters:
eventEntity
- the original EntitycopiedEventEntity
- copied Entityconfigs
- String: id of the extension, Boolean: active or not
-