static int |
AppointmentUtilities.checkAndReturnNbBookedSeats(String strNbBookedSeats,
AppointmentFormDTO form,
AppointmentDTO appointmentDTO,
Locale locale,
List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> listFormErrors) |
Check and validate all the rules for the number of booked seats asked
|
static void |
AppointmentUtilities.checkEmail(String strEmail,
String strConfirmEmail,
AppointmentFormDTO form,
Locale locale,
List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> listFormErrors) |
Check that the email is correct and matches the confirm email
|
static boolean |
AppointmentUtilities.checkNbDaysBetweenTwoAppointments(AppointmentDTO appointmentDTO,
String strEmail,
AppointmentFormDTO form) |
Check that the delay between two appointments for the same use has been respected
|
static boolean |
AppointmentUtilities.checkNbDaysBetweenTwoAppointmentsTaken(AppointmentDTO appointmentDTO,
String strEmail,
AppointmentFormDTO form) |
Check that the delay between two appointments for the same use has been respected
|
static boolean |
AppointmentUtilities.checkNbMaxAppointmentsDefinedOnCategory(AppointmentDTO appointmentDTO,
String strEmail,
AppointmentFormDTO form,
List<AppointmentDTO> listAppointments) |
Check that the number of appointments on a defined category is not above the maximum authorized
|
static boolean |
AppointmentUtilities.checkNbMaxAppointmentsOnAGivenPeriod(AppointmentDTO appointmentDTO,
String strEmail,
AppointmentFormDTO form) |
Check that the number of appointments on a defined period is not above the maximum authorized
|
static boolean |
AppointmentUtilities.checkNoAppointmentsImpacted(List<Appointment> listAppointment,
int nIdForm,
int nIdreservationRule,
AppointmentFormDTO appointmentForm) |
Check if there are appointments impacted by the new week definition
|
static boolean |
AppointmentUtilities.checkNoAppointmentsImpacted(List<Appointment> listAppointment,
int nIdForm,
LocalDate dateOfModification,
AppointmentFormDTO appointmentForm) |
Check if there are appointments impacted by the new week definition
|
static boolean |
AppointmentUtilities.checkNoAppointmentsImpacted(List<Slot> listSlotWithAppointment,
AppointmentFormDTO appointmentForm) |
Check if there are appointments impacted by the new week definition
|
static int |
FormService.createAppointmentForm(AppointmentFormDTO appointmentForm) |
Create a form from an appointmentForm DTO
|
static Display |
DisplayService.createDisplay(AppointmentFormDTO appointmentForm,
int nIdForm) |
Create a display object from an appointment form DTO
|
static FormRule |
FormRuleService.createFormRule(AppointmentFormDTO appointmentForm,
int nIdForm) |
Create a form rule from an appointment form DTO
|
static Localization |
LocalizationService.createLocalization(AppointmentFormDTO appointmentForm,
int nIdForm) |
Create a localization object from an appointment form DTO
|
static ReservationRule |
ReservationRuleService.createReservationRule(AppointmentFormDTO appointmentForm,
int nIdForm) |
Create in database a reservation rule object from an appointmentForm DTO
|
static int |
ReservationRuleService.createTypicalWeek(AppointmentFormDTO appointmentForm) |
Create in database a reservation rule object from an appointmentForm DTO
|
static void |
FormService.fillAppointmentFormWithReservationRulePart(AppointmentFormDTO appointmentForm,
ReservationRule reservationRule) |
Fill the appointmentForm DTO with the Reservation Rule
|
static Display |
DisplayService.fillInDisplayWithAppointmentForm(Display display,
AppointmentFormDTO appointmentForm,
int nIdForm) |
Fill a display object with the appointment form DTO
|
static void |
FormRuleService.fillInFormRule(FormRule formRule,
AppointmentFormDTO appointmentForm,
int nIdForm) |
Fill the form rule part with the appointment DTO
|
static Form |
FormService.fillInFormWithAppointmentForm(Form form,
AppointmentFormDTO appointmentForm) |
Fill the form object with the values of the appointmentForm DTO
|
static Localization |
LocalizationService.fillInLocalizationWithAppointmentForm(Localization localization,
AppointmentFormDTO appointmentForm,
int nIdForm) |
Fill a localization object with the appointment form DTO
|
static void |
ReservationRuleService.fillInReservationRule(ReservationRule reservationRule,
AppointmentFormDTO appointmentForm,
int nIdForm) |
Fill the reservation rule object with the corresponding values of an appointmentForm DTO
|
static void |
AppointmentUtilities.fillInReservationRuleAdvancedParam(ReservationRuleDTO reservationRuleDTO,
AppointmentFormDTO appointmentForm) |
Fill the reservation rule object with the corresponding values of an appointmentForm DTO
|
static List<DayOfWeek> |
WorkingDayService.getOpenDays(AppointmentFormDTO appointmentForm) |
Get the open days of an appointmentForm DTO
|
static void |
ReservationRuleService.updateAdvancedParameters(AppointmentFormDTO appointmentForm) |
Update a form with the new values of an appointmentForm DTO Advanced Parameters (with a date of application) --> new Typical Week
|
static Display |
DisplayService.updateDisplay(AppointmentFormDTO appointmentForm,
int nIdForm) |
Update a display object with the values of an appointment form DTO
|
static Form |
FormService.updateForm(AppointmentFormDTO appointmentForm) |
Update a form object with the values of the appointmentForm DTO
|
static FormRule |
FormRuleService.updateFormRule(AppointmentFormDTO appointmentForm,
int nIdForm) |
Update a form rule object with the values of an appointmentForm DTO
|
static void |
FormService.updateGlobalParameters(AppointmentFormDTO appointmentForm) |
Update a form with the new values of the Global Parameters of an appointmentForm DTO
|
static Localization |
LocalizationService.updateLocalization(AppointmentFormDTO appointmentForm,
int nIdForm) |
Update a localization object with the values of an appointment form DTO
|
static ReservationRule |
ReservationRuleService.updateReservationRule(AppointmentFormDTO appointmentForm,
int nIdForm) |
Update in database a reservation rule with the values of an appointmentForm DTO
|
static boolean |
AppointmentUtilities.weekIsOpenInFO(AppointmentFormDTO appointmentFormDTO,
List<WeekDefinition> listWeek,
Locale locale) |
check if one of the weeks in the list is open on the FO calendar
|