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
ConstructorsConstructorDescriptionQualificationEventLogicCopyExtension(LogicCopyService logicCopyService, SecurityManager securityManager) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
isActivein 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:EventCopyExtensioncopy entities- Specified by:
copyin 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
-