static void |
AppointmentService.addAppointmentResponses(AppointmentDTO appointmentDto) |
Fill the appointment data transfer object with complementary appointment responses
|
static void |
AppointmentService.buildListAppointmentSlot(AppointmentDTO appointmentDTO) |
|
static List<ResponseRecapDTO> |
AppointmentUtilities.buildListResponse(AppointmentDTO appointment,
javax.servlet.http.HttpServletRequest request,
Locale locale) |
Build a list of response of the appointment
|
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.checkDateOfTheAppointmentIsNotBeforeNow(AppointmentDTO appointmentDTO,
Locale locale,
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,
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 void |
AppointmentUtilities.fillAppointmentDTO(AppointmentDTO appointmentDTO,
int nbBookedSeats,
String strEmail,
String strEmailConfirm,
String strFirstName,
String strLastName) |
Fill the appoinmentFront DTO with the given parameters
|
static void |
AppointmentUtilities.fillInListResponseWithMapResponse(AppointmentDTO appointmentDTO) |
|
static void |
EntryService.getHtmlEntry(Map<String,Object> model,
int nIdEntry,
StringBuilder stringBuffer,
Locale locale,
boolean bDisplayFront,
AppointmentDTO appointmentDTO) |
Get the html part of the additional entry of the form
|
static List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> |
EntryService.getResponseEntry(javax.servlet.http.HttpServletRequest request,
int nIdEntry,
Locale locale,
AppointmentDTO appointment) |
Add to the map of the appointment the response of the additional entry of the form
|
static 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.validateFormAndEntries(AppointmentDTO appointmentDTO,
javax.servlet.http.HttpServletRequest request,
List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> listFormErrors,
boolean allEntries) |
Validate the form and the additional entries of the form
|