Class AbstractSeminarActionHandlerFactory.AbstractSeminarActionHandler
java.lang.Object
ch.tocco.nice2.optional.seminar.impl.actions.seminarraising.AbstractSeminarActionHandlerFactory.AbstractSeminarActionHandler
- All Implemented Interfaces:
SeminarActionHandlerFactory.SeminarActionHandler
- Direct Known Subclasses:
SeminarRaiseHandlerFactory.SeminarRaiseActionHandler
,SeminarStartHandlerFactory.SeminarStartActionHandler
- Enclosing class:
AbstractSeminarActionHandlerFactory
protected abstract class AbstractSeminarActionHandlerFactory.AbstractSeminarActionHandler
extends Object
implements SeminarActionHandlerFactory.SeminarActionHandler
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Entity
protected final SeminarActionConfiguration
protected final EventLogicCopyService.CopyConfiguration
-
Constructor Summary
ConstructorDescriptionAbstractSeminarActionHandler
(Entity actionSettings, SeminarActionConfiguration configuration, EventLogicCopyService.CopyConfiguration copyConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected Entity
copyEntity
(Entity originalEntity, Set<String> excludedFields) protected void
copyEvents
(Entity event, EventLogicCopyService.EventCopyFinalizer eventCopyFinalizer) protected void
copySeminarEvent
(Entity originalSeminarEvent, Entity seminar, Entity event) protected Entity
protected abstract Entity
handleSeminar
(Entity seminar) protected void
postProcessCopiedEvent
(Entity originalEvent, Entity copiedEvent, Entity seminar, GroovyEventCodeService.Script eventCodeScript, int periodNr, Entity period, Entity eventSeminarStatus, boolean isRaise) run
(EntityList seminars)
-
Field Details
-
EXCLUDED_SEMINAR_EVENT_FIELDS
-
actionSettings
-
configuration
-
copyConfiguration
-
-
Constructor Details
-
AbstractSeminarActionHandler
public AbstractSeminarActionHandler(Entity actionSettings, SeminarActionConfiguration configuration, EventLogicCopyService.CopyConfiguration copyConfiguration)
-
-
Method Details
-
run
- Specified by:
run
in interfaceSeminarActionHandlerFactory.SeminarActionHandler
-
handleSeminar
-
copyEvents
protected void copyEvents(Entity event, EventLogicCopyService.EventCopyFinalizer eventCopyFinalizer) -
copySeminarEvent
-
copyEntity
-
getSeminarTemplateStatusForEvent
-
postProcessCopiedEvent
-