Package | Description |
---|---|
fr.paris.lutece.plugins.appointment.service | |
fr.paris.lutece.plugins.appointment.web |
Modifier and Type | Method and Description |
---|---|
static AppointmentDTO |
AppointmentService.buildAppointmentDTOFromIdAppointment(int nIdAppointment)
Build an appointment DTO from the id of an appointment business object
|
Modifier and Type | Method and Description |
---|---|
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 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 strFirstName,
String strLastName,
String strEmail,
AppointmentFormDTO form)
Check that the delay between two appointments for the same use has been respected
|
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 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 Timer |
AppointmentUtilities.putTimerInSession(javax.servlet.http.HttpServletRequest request,
Slot slot,
AppointmentDTO appointmentDTO,
int maxPeoplePerAppointment)
Create a timer on a slot
|
static int |
AppointmentService.saveAppointment(AppointmentDTO appointmentDTO)
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)
Validate the form and the additional entries of the form
|
Modifier and Type | Method and Description |
---|---|
static void |
AppointmentUtilities.buildExcelFileWithAppointments(String strIdForm,
javax.servlet.http.HttpServletResponse response,
Locale locale,
List<AppointmentDTO> listAppointmentsDTO,
fr.paris.lutece.plugins.workflowcore.service.state.StateService stateService)
Build the excel fil of the list of the appointments found in the manage appointment viw by filter
|
Modifier and Type | Method and Description |
---|---|
void |
AppointmentApp.setUserInfo(javax.servlet.http.HttpServletRequest request,
AppointmentDTO appointment)
Set the user infos to the appointment DTO
|
Copyright © 2018 City of Paris. All rights reserved.