| Modifier and Type | Method and Description |
|---|---|
static AppointmentDTO |
AppointmentService.buildAppointmentDTOFromIdAppointment(int nIdAppointment)
Build an appointment DTO from the id of an appointment business object
|
static AppointmentDTO |
AppointmentService.buildAppointmentDTOFromRefAppointment(String refAppointment)
Build an appointment DTO from the id of an appointment business object
|
| Modifier and Type | Method and Description |
|---|---|
static List<AppointmentDTO> |
AppointmentService.findAppointmentByMailAndCategory(int nIdCategory,
String mail)
Find a list of appointments by id category and mail
|
static List<AppointmentDTO> |
AppointmentService.findListAppointmentsDTOByFilter(AppointmentFilterDTO appointmentFilter)
Find a list of appointments matching the filter
|
| Modifier and Type | Method and Description |
|---|---|
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 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 |
SlotSafeService.saveAppointment(AppointmentDTO appointmentDTO,
javax.servlet.http.HttpServletRequest request)
Save a slot in database
|
static int |
AppointmentService.saveAppointment(AppointmentDTO appointmentDTO,
javax.servlet.http.HttpServletRequest request)
Save an appointment 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
|
| Modifier and Type | Method and Description |
|---|---|
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
|
| Modifier and Type | Method and Description |
|---|---|
static void |
AppointmentExportService.buildExcelFileWithAppointments(List<String> defaultColumnList,
List<Integer> entryList,
Path excelFile,
Locale locale,
List<AppointmentDTO> listAppointmentsDTO)
Build the excel fil of the list of the appointments found in the manage appointment viw by filter
|
| Constructor and Description |
|---|
ExcelAppointmentGenerator(List<String> defaultColumnList,
Locale locale,
List<AppointmentDTO> listAppointmentsDTO,
List<Integer> entryList) |
| Modifier and Type | Method and Description |
|---|---|
static String |
AppointmentApp.getReportAppointmentUrl(AppointmentDTO appointment)
Get the URL
|
void |
AppointmentApp.setUserInfo(javax.servlet.http.HttpServletRequest request,
AppointmentDTO appointment)
Set the user infos to the appointment DTO
|
| Modifier and Type | Method and Description |
|---|---|
Set<AppointmentDTO> |
AppointmentPackageDTO.getListAppointmentDTO()
Get the list of the AppointmentDTO
|
| Modifier and Type | Method and Description |
|---|---|
void |
AppointmentPackageDTO.addAppointmentDto(AppointmentDTO appointmentDTO) |
| Modifier and Type | Method and Description |
|---|---|
void |
AppointmentPackageDTO.setListAppointmentDTO(Set<AppointmentDTO> listAppointmentDTO)
Set the list of the AppointmentDTO
|
Copyright © 2022 City of Paris. All rights reserved.