Class PreparationEventCopyExtension
java.lang.Object
ch.tocco.nice2.optional.event.api.eventcopy.PreparationEventCopyExtension
- All Implemented Interfaces:
EventCopyExtension
- Direct Known Subclasses:
SeminarQualificationEventCopyExtension
-
Nested Class Summary
Nested classes/interfaces inherited from interface ch.tocco.nice2.optional.event.api.eventcopy.EventCopyExtension
EventCopyExtension.SourceId
-
Constructor Summary
-
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
isActive, prepare
-
Constructor Details
-
PreparationEventCopyExtension
public PreparationEventCopyExtension()
-
-
Method Details
-
copy
public final 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
-