Class OldQualificationEventLogicCopyExtension
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.action.OldQualificationEventLogicCopyExtension
- All Implemented Interfaces:
EventCopyExtension
-
Constructor Summary
ConstructorDescriptionOldQualificationEventLogicCopyExtension
(LogicCopyService logicCopyService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(Entity originalEvent, Entity copiedEvent, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap, Map<Entity, Entity> originalsWithCopies) 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
-
OldQualificationEventLogicCopyExtension
public OldQualificationEventLogicCopyExtension(LogicCopyService logicCopyService, SecurityManager securityManager)
-
-
Method Details
-
copy
public void copy(Entity originalEvent, Entity copiedEvent, Map<String, Boolean> configs, Map<PrimaryKey, Entity> evaluationMap, Map<PrimaryKey, Entity> inputMap, Map<Entity, Entity> originalsWithCopies) Description copied from interface:EventCopyExtension
does the additional copy logic- Specified by:
copy
in interfaceEventCopyExtension
- Parameters:
originalEvent
- original EntitycopiedEvent
- 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
-