Class SeminarQualificationEventCopyExtension

java.lang.Object
ch.tocco.nice2.optional.event.api.eventcopy.PreparationEventCopyExtension
ch.tocco.nice2.optional.seminarqualification.impl.SeminarQualificationEventCopyExtension
All Implemented Interfaces:
EventCopyExtension

@Component public class SeminarQualificationEventCopyExtension extends PreparationEventCopyExtension
  • Constructor Details

  • Method Details

    • isActive

      public boolean isActive(Map<String,Boolean> configs)
      Returns:
      true if the extension should run
    • prepare

      public Map<EventCopyExtension.SourceId,Entity> prepare(Entity sourceEvent, Entity copyEvent)
      Description copied from interface: EventCopyExtension
      define related entities that should not be copied again
      Parameters:
      sourceEvent - the source event
      copyEvent - the copied event
      Returns:
      a map with sources as keys and copied entities as values