Class DefaultSeminarActionConfiguration
java.lang.Object
ch.tocco.nice2.optional.seminar.impl.DefaultSeminarActionConfiguration
- All Implemented Interfaces:
SeminarActionConfiguration
@Component
public class DefaultSeminarActionConfiguration
extends Object
implements SeminarActionConfiguration
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildCodeForEvent
(Entity eventEntity, Entity periodEntity, Entity seminarForm, Entity seminarEntity, Entity copiedEventEntity, boolean isRaise) buildCodeForSeminar
(Entity seminarEntity, Entity seminarForm, Entity periodEntity) void
copyAdditionalRelation
(Entity originalEntity, Entity copiedEntity) @Nullable String[]
customerSpecificEventOverwriteStartFields
(Entity seminarEventForm) getName()
void
modifyRegistration
(Entity registrationEntity) boolean
raiseRegistration
(Entity registrationEntity, Entity nextPeriodEntity, Entity seminarEntity) 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.seminar.spi.SeminarActionConfiguration
copyAdditionalValuesFromFormToCopiedEntity
-
Constructor Details
-
DefaultSeminarActionConfiguration
public DefaultSeminarActionConfiguration()
-
-
Method Details
-
buildCodeForSeminar
- Specified by:
buildCodeForSeminar
in interfaceSeminarActionConfiguration
-
getName
- Specified by:
getName
in interfaceSeminarActionConfiguration
-
buildCodeForEvent
public String buildCodeForEvent(Entity eventEntity, Entity periodEntity, Entity seminarForm, Entity seminarEntity, Entity copiedEventEntity, boolean isRaise) - Specified by:
buildCodeForEvent
in interfaceSeminarActionConfiguration
-
copyAdditionalRelation
- Specified by:
copyAdditionalRelation
in interfaceSeminarActionConfiguration
-
customerSpecificEventOverwriteStartFields
@Nullable public @Nullable String[] customerSpecificEventOverwriteStartFields(Entity seminarEventForm) - Specified by:
customerSpecificEventOverwriteStartFields
in interfaceSeminarActionConfiguration
-
raiseRegistration
public boolean raiseRegistration(Entity registrationEntity, Entity nextPeriodEntity, Entity seminarEntity) - Specified by:
raiseRegistration
in interfaceSeminarActionConfiguration
-
modifyRegistration
- Specified by:
modifyRegistration
in interfaceSeminarActionConfiguration
- Parameters:
registrationEntity
- all registration entities which return true on raiseRegistration()
-