Package | Description |
---|---|
fr.paris.lutece.plugins.appointment.service | |
fr.paris.lutece.plugins.appointment.web |
Modifier and Type | Method and Description |
---|---|
static AppointmentForm |
FormService.buildAppointmentForm(int nIdForm,
int nIdReservationRule,
int nIdWeekDefinition)
Build an appointmentForm DTO
|
static AppointmentForm |
FormService.buildAppointmentFormLight(Form form)
Build an appointmentFormDTO light
|
static AppointmentForm |
FormService.buildAppointmentFormLight(int nIdForm)
Build an appointmentForm light
|
Modifier and Type | Method and Description |
---|---|
static List<AppointmentForm> |
FormService.buildAllActiveAndDisplayedOnPortletAppointmentForm()
Build all the active forms of the database
|
static List<AppointmentForm> |
FormService.buildAllActiveAppointmentForm()
Build all the active forms
|
static List<AppointmentForm> |
FormService.buildAllAppointmentFormLight()
Build all the appointForm DTO of the database light because the appointFormDTO is only fill in with the form id, the title and if the form is active or
not
|
Modifier and Type | Method and Description |
---|---|
static int |
AppointmentUtilities.checkAndReturnNbBookedSeats(String strNbBookedSeats,
AppointmentForm 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,
AppointmentForm 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,
AppointmentForm form)
Check that the delay between two appointments for the same use has been respected
|
static boolean |
AppointmentUtilities.checkNbMaxAppointmentsOnAGivenPeriod(AppointmentDTO appointmentDTO,
String strEmail,
AppointmentForm 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,
LocalDate dateOfModification,
AppointmentForm appointmentForm)
Check if there are appointments impacted by the new week definition
|
static int |
FormService.createAppointmentForm(AppointmentForm appointmentForm)
Create a form from an appointmentForm DTO
|
static Display |
DisplayService.createDisplay(AppointmentForm appointmentForm,
int nIdForm)
Create a display object from an appointment form DTO
|
static Form |
FormService.createForm(AppointmentForm appointmentForm)
Create a form from an appointmentForm DTO
|
static FormRule |
FormRuleService.createFormRule(AppointmentForm appointmentForm,
int nIdForm)
Create a form rule from an appointment form DTO
|
static Localization |
LocalizationService.createLocalization(AppointmentForm appointmentForm,
int nIdForm)
Create a localization object from an appointment form DTO
|
static ReservationRule |
ReservationRuleService.createReservationRule(AppointmentForm appointmentForm,
int nIdForm,
LocalDate dateOfApply)
Create in database a reservation rule object from an appointmentForm DTO
|
static Display |
DisplayService.fillInDisplayWithAppointmentForm(Display display,
AppointmentForm appointmentForm,
int nIdForm)
Fill a display object with the appointment form DTO
|
static void |
FormRuleService.fillInFormRule(FormRule formRule,
AppointmentForm appointmentForm,
int nIdForm)
Fill the form rule part with the appointment DTO
|
static Form |
FormService.fillInFormWithAppointmentForm(Form form,
AppointmentForm appointmentForm)
Fill the form object with the values of the appointmentForm DTO
|
static Localization |
LocalizationService.fillInLocalizationWithAppointmentForm(Localization localization,
AppointmentForm appointmentForm,
int nIdForm)
Fill a localization object with the appointment form DTO
|
static void |
ReservationRuleService.fillInReservationRule(ReservationRule reservationRule,
AppointmentForm appointmentForm,
int nIdForm,
LocalDate dateOfApply)
Fill the reservation rule object with the corresponding values of an appointmentForm DTO
|
static List<DayOfWeek> |
WorkingDayService.getOpenDays(AppointmentForm appointmentForm)
Get the open days of an appointmentForm DTO
|
static void |
FormService.updateAppointmentForm(AppointmentForm appointmentForm,
LocalDate dateOfModification)
Update a form with the new values of an appointmentForm DTO
|
static Display |
DisplayService.updateDisplay(AppointmentForm appointmentForm,
int nIdForm)
Update a display object with the values of an appointment form DTO
|
static Form |
FormService.updateForm(AppointmentForm appointmentForm)
Update a form object with the values of the appointmentForm DTO
|
static FormRule |
FormRuleService.updateFormRule(AppointmentForm appointmentForm,
int nIdForm)
Update a form rule object with the values of an appointmentForm DTO
|
static Localization |
LocalizationService.updateLocalization(AppointmentForm appointmentForm,
int nIdForm)
Update a localization object with the values of an appointment form DTO
|
static ReservationRule |
ReservationRuleService.updateReservationRule(AppointmentForm appointmentForm,
int nIdForm,
LocalDate dateOfApply)
Update in database a reservation rule with the values of an appointmentForm DTO
|
Modifier and Type | Method and Description |
---|---|
static String[][] |
AppointmentUtilities.getPermissions(List<AppointmentForm> listForms,
fr.paris.lutece.portal.business.user.AdminUser user)
Get Form Permissions
|
Modifier and Type | Method and Description |
---|---|
static void |
AppointmentFormJspBean.addElementsToModel(javax.servlet.http.HttpServletRequest request,
AppointmentForm appointmentForm,
fr.paris.lutece.portal.business.user.AdminUser user,
Locale locale,
Map<String,Object> model)
Add elements to the model to display the left column to modify an appointment form
|
protected boolean |
AbstractAppointmentFormAndSlotJspBean.checkConstraints(AppointmentForm appointmentForm)
Check Constraints
|
Copyright © 2018 City of Paris. All rights reserved.