Class QualificationEventLogicCopyExtension
java.lang.Object
ch.tocco.nice2.optional.qualification.impl.action.QualificationEventLogicCopyExtension
- All Implemented Interfaces:
EventCopyExtension
@Component
public class QualificationEventLogicCopyExtension
extends Object
implements EventCopyExtension
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.event.api.eventcopy.EventCopyExtension
EventCopyExtension.SourceId
-
Constructor Summary
ConstructorDescriptionQualificationEventLogicCopyExtension
(LogicCopyService logicCopyService, SecurityManager securityManager) -
Method Summary
Methods 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.EventCopyExtension
prepare
-
Constructor Details
-
QualificationEventLogicCopyExtension
public QualificationEventLogicCopyExtension(LogicCopyService logicCopyService, SecurityManager securityManager)
-
-
Method Details
-
isActive
- Specified by:
isActive
in interfaceEventCopyExtension
- Returns:
- true if the extension should run
-
copy
public void copy(Entity sourceEvent, Entity copyEvent, Map<EventCopyExtension.SourceId, Entity> copiedEntities) Description copied from interface:EventCopyExtension
copy entities- Specified by:
copy
in interfaceEventCopyExtension
- Parameters:
sourceEvent
- the original event that is being copiedcopyEvent
- the copied eventcopiedEntities
- a map of every entity that has been copied so far, mapping from sources to copies
-