Package ch.tocco.nice2.optional.event.api.tasks.eventregistration
package ch.tocco.nice2.optional.event.api.tasks.eventregistration
-
ClassDescriptionExtend logic of
EventRegistrationModuleTask
for fields/relations which are not available in the event modulecopies a Registration to all selected modules - set the source to 'module_registration' - sets mail_required to false - relates the new registrations to the original by relEvent_registrationsaves question values selected by the user while registeringgets the created Registration from the User, or creates one if none exists sets relEvent, relUser, relRegistration_source and relRegistration_status on the registration source is set to 'event_registration' status is set to 'waiting_list' if too many Registrations exist and the Event is configured as such, 'registered' otherwiseImplement this interface and annotate it with @Primary to override the default implementationDefaultOverbookingHelper
in a customer module.sends mails for Registrations ifmail_required
is true andrelRegistration_source
is event_registration