static void |
AppointmentService.addAppointmentResponses(AppointmentDTO appointmentDto) |
Fill the appointment data transfer object with complementary appointment responses
|
static void |
AppointmentService.buildListAppointmentSlot(AppointmentDTO appointmentDTO) |
|
static java.util.List<ResponseRecapDTO> |
AppointmentUtilities.buildListResponse(AppointmentDTO appointment,
javax.servlet.http.HttpServletRequest request,
java.util.Locale locale) |
Build a list of response of the appointment
|
static int |
AppointmentUtilities.checkAndReturnNbBookedSeats(java.lang.String strNbBookedSeats,
AppointmentFormDTO form,
AppointmentDTO appointmentDTO,
java.util.Locale locale,
java.util.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.checkDateOfTheAppointmentIsNotBeforeNow(AppointmentDTO appointmentDTO,
java.util.Locale locale,
java.util.List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> listFormErrors) |
Check that the date of the appointment we try to take is not in the past
|
static boolean |
AppointmentUtilities.checkNbDaysBetweenTwoAppointments(AppointmentDTO appointmentDTO,
java.lang.String strEmail,
AppointmentFormDTO form) |
Check that the delay between two appointments for the same use has been respected
|
static boolean |
AppointmentUtilities.checkNbDaysBetweenTwoAppointmentsTaken(AppointmentDTO appointmentDTO,
java.lang.String strEmail,
AppointmentFormDTO form) |
Check that the delay between two appointments for the same use has been respected
|
static boolean |
AppointmentUtilities.checkNbMaxAppointmentsDefinedOnCategory(AppointmentDTO appointmentDTO,
java.lang.String strEmail,
AppointmentFormDTO form,
java.util.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,
java.lang.String strEmail,
AppointmentFormDTO form) |
Check that the number of appointments on a defined period is not above the maximum authorized
|
static void |
AppointmentUtilities.fillAppointmentDTO(AppointmentDTO appointmentDTO,
int nbBookedSeats,
java.lang.String strEmail,
java.lang.String strEmailConfirm,
java.lang.String strFirstName,
java.lang.String strLastName) |
Fill the appoinmentFront DTO with the given parameters
|
static void |
AppointmentUtilities.fillInListResponseWithMapResponse(AppointmentDTO appointmentDTO) |
|
static void |
EntryService.getHtmlEntry(java.util.Map<java.lang.String,java.lang.Object> model,
int nIdEntry,
java.lang.StringBuilder stringBuffer,
java.util.Locale locale,
boolean bDisplayFront,
AppointmentDTO appointmentDTO) |
Get the html part of the additional Entry of the form
|
static java.util.List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> |
EntryService.getResponseEntry(javax.servlet.http.HttpServletRequest request,
int nIdEntry,
java.util.Locale locale,
AppointmentDTO appointment) |
Add to the map of the appointment the response of the additional entry of the form
|
static java.util.concurrent.ScheduledFuture<Slot> |
AppointmentUtilities.putTimerInSession(javax.servlet.http.HttpServletRequest request,
int nIdSlot,
AppointmentDTO appointmentDTO,
int maxPeoplePerAppointment) |
Create a timer on a slot
|
static int |
AppointmentService.saveAppointment(AppointmentDTO appointmentDTO) |
Save an appointment in database
|
static int |
AppointmentService.saveAppointment(AppointmentDTO appointmentDTO,
javax.servlet.http.HttpServletRequest request) |
Save an appointment in database
|
static int |
SlotSafeService.saveAppointment(AppointmentDTO appointmentDTO,
javax.servlet.http.HttpServletRequest request) |
Save a slot in database
|
static User |
UserService.saveUser(AppointmentDTO appointment) |
Save a user in database / A user is defined by its email (unique)
|
static void |
AppointmentUtilities.setAppointmentPhoneNumberValuesFromResponse(AppointmentDTO appointment) |
Set the appointment's phone number values, if a user entered them in a Generic Attributes
of type 'Phone Number'.
|
static void |
AppointmentUtilities.validateFormAndEntries(AppointmentDTO appointmentDTO,
javax.servlet.http.HttpServletRequest request,
java.util.List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> listFormErrors,
boolean allEntries) |
Validate the form and the additional entries of the form
|