Uses of Class
fr.paris.lutece.plugins.appointment.web.dto.AppointmentDTO
Packages that use AppointmentDTO
Package
Description
-
Uses of AppointmentDTO in fr.paris.lutece.plugins.appointment.service
Methods in fr.paris.lutece.plugins.appointment.service that return AppointmentDTOModifier and TypeMethodDescriptionstatic AppointmentDTOAppointmentUtilities.buildAppointmentDTO(Appointment appointment) Build an appointment dto from an appointment business objectstatic AppointmentDTOAppointmentService.buildAppointmentDTOFromIdAppointment(int nIdAppointment) Build an appointment DTO from the id of an appointment business objectstatic AppointmentDTOAppointmentService.buildAppointmentDTOFromRefAppointment(String refAppointment) Build an appointment DTO from the reference of an appointment business objectMethods in fr.paris.lutece.plugins.appointment.service that return types with arguments of type AppointmentDTOModifier and TypeMethodDescriptionstatic List<AppointmentDTO>AppointmentService.findAppointmentByMailAndCategory(int nIdCategory, String mail) Find a list of appointments by id category and mailstatic List<AppointmentDTO>AppointmentService.findListAppointmentsDTOByFilter(AppointmentFilterDTO appointmentFilter) Find a list of appointments matching the filterMethods in fr.paris.lutece.plugins.appointment.service with parameters of type AppointmentDTOModifier and TypeMethodDescriptionstatic voidAppointmentService.addAppointmentResponses(AppointmentDTO appointmentDto) Fill the appointment data transfer object with complementary appointment responsesstatic voidAppointmentService.buildListAppointmentSlot(AppointmentDTO appointmentDTO) static List<ResponseRecapDTO>AppointmentUtilities.buildListResponse(AppointmentDTO appointment, jakarta.servlet.http.HttpServletRequest request, Locale locale) Build a list of response of the appointmentstatic intAppointmentUtilities.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 askedstatic voidAppointmentUtilities.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 paststatic booleanAppointmentUtilities.checkNbDaysBetweenTwoAppointments(AppointmentDTO appointmentDTO, String strEmail, AppointmentFormDTO form) Check that the delay between two appointments for the same use has been respectedstatic booleanAppointmentUtilities.checkNbDaysBetweenTwoAppointmentsTaken(AppointmentDTO appointmentDTO, String strEmail, AppointmentFormDTO form) Check that the delay between two appointments for the same use has been respectedstatic booleanAppointmentUtilities.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 authorizedstatic booleanAppointmentUtilities.checkNbMaxAppointmentsOnAGivenPeriod(AppointmentDTO appointmentDTO, String strEmail, AppointmentFormDTO form) Check that the number of appointments on a defined period is not above the maximum authorizedstatic voidAppointmentUtilities.fillAppointmentDTO(AppointmentDTO appointmentDTO, int nbBookedSeats, String strEmail, String strEmailConfirm, String strFirstName, String strLastName) Fill the appoinmentFront DTO with the given parametersstatic voidAppointmentUtilities.fillInListResponseWithMapResponse(AppointmentDTO appointmentDTO) static voidEntryService.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 formstatic List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError>EntryService.getResponseEntry(jakarta.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 formstatic ScheduledFuture<Slot>AppointmentUtilities.putTimerInSession(jakarta.servlet.http.HttpServletRequest request, int nIdSlot, AppointmentDTO appointmentDTO, int maxPeoplePerAppointment) Create a timer on a slotstatic intAppointmentService.saveAppointment(AppointmentDTO appointmentDTO) Save an appointment in databasestatic intAppointmentService.saveAppointment(AppointmentDTO appointmentDTO, jakarta.servlet.http.HttpServletRequest request) Save an appointment in databasestatic intSlotSafeService.saveAppointment(AppointmentDTO appointmentDTO, jakarta.servlet.http.HttpServletRequest request) Save a slot in databasestatic UserUserService.saveUser(AppointmentDTO appointment) Save a user in database / A user is defined by its email (unique)static voidAppointmentUtilities.setAppointmentPhoneNumberValuesFromResponse(AppointmentDTO appointment) Set the appointment's phone number values, if a user entered them in a Generic Attributes of type 'Phone Number'.static voidAppointmentUtilities.validateFormAndEntries(AppointmentDTO appointmentDTO, jakarta.servlet.http.HttpServletRequest request, List<fr.paris.lutece.plugins.genericattributes.business.GenericAttributeError> listFormErrors, boolean allEntries) Validate the form and the additional entries of the formMethod parameters in fr.paris.lutece.plugins.appointment.service with type arguments of type AppointmentDTOModifier and TypeMethodDescriptionstatic booleanAppointmentUtilities.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 -
Uses of AppointmentDTO in fr.paris.lutece.plugins.appointment.web
Methods in fr.paris.lutece.plugins.appointment.web with parameters of type AppointmentDTOModifier and TypeMethodDescriptionstatic StringAppointmentApp.getReportAppointmentUrl(AppointmentDTO appointment) Get the URLvoidAppointmentApp.prefillAppointment(AppointmentDTO appointment) Fill the booking form of a form in advance, with the information another service knows of the user: the next opening of the form of that form in this session shows it filled in.voidAppointmentApp.setUserInfo(jakarta.servlet.http.HttpServletRequest request, AppointmentDTO appointment) Set the user infos to the appointment DTO -
Uses of AppointmentDTO in fr.paris.lutece.plugins.appointment.web.dto
Methods in fr.paris.lutece.plugins.appointment.web.dto that return types with arguments of type AppointmentDTOModifier and TypeMethodDescriptionAppointmentPackageDTO.getListAppointmentDTO()Get the list of the AppointmentDTOMethods in fr.paris.lutece.plugins.appointment.web.dto with parameters of type AppointmentDTOModifier and TypeMethodDescriptionvoidAppointmentPackageDTO.addAppointmentDto(AppointmentDTO appointmentDTO) Method parameters in fr.paris.lutece.plugins.appointment.web.dto with type arguments of type AppointmentDTOModifier and TypeMethodDescriptionvoidAppointmentPackageDTO.setListAppointmentDTO(Set<AppointmentDTO> listAppointmentDTO) Set the list of the AppointmentDTO