Class RegistrationEventCopyExtensionFactory.RegistrationEventCopyExtension
java.lang.Object
ch.tocco.nice2.optional.event.impl.actions.logiccopy.RegistrationEventCopyExtensionFactory.RegistrationEventCopyExtension
- All Implemented Interfaces:
EventCopyExtension
- Enclosing class:
RegistrationEventCopyExtensionFactory
public static class RegistrationEventCopyExtensionFactory.RegistrationEventCopyExtension
extends Object
implements EventCopyExtension
-
Constructor Summary
-
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
-
RegistrationEventCopyExtension
public RegistrationEventCopyExtension()
-
-
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
-