| Package | Description |
|---|---|
| fr.paris.lutece.plugins.appointment.business.rule | |
| fr.paris.lutece.plugins.appointment.service | |
| fr.paris.lutece.plugins.appointment.web.dto |
| Modifier and Type | Method and Description |
|---|---|
static ReservationRule |
ReservationRuleHome.create(ReservationRule reservationRule)
Create an instance of the ReservationRule class
|
static ReservationRule |
ReservationRuleHome.findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply)
Returns the Reservation Rule with the given search parameters
|
ReservationRule |
IReservationRuleDAO.findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the Reservation Rule with the given search parameters
|
ReservationRule |
ReservationRuleDAO.findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static ReservationRule |
ReservationRuleHome.findByPrimaryKey(int nKey)
Returns an instance of the ReservationRule whose identifier is specified in parameter
|
static ReservationRule |
ReservationRuleHome.findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm,
LocalDate dateOfApply)
Find in database a reservation rule of a form closest to a date
|
ReservationRule |
IReservationRuleDAO.findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find in database a reservation rule of a form closest to a date
|
ReservationRule |
ReservationRuleDAO.findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
ReservationRule |
IReservationRuleDAO.select(int nIdReservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
ReservationRule |
ReservationRuleDAO.select(int nIdReservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static ReservationRule |
ReservationRuleHome.update(ReservationRule reservationRule)
Update of the ReservationRule which is specified in parameter
|
| Modifier and Type | Method and Description |
|---|---|
static List<ReservationRule> |
ReservationRuleHome.findByIdForm(int nIdForm)
Returns all the Reservation Rule of a form
|
List<ReservationRule> |
IReservationRuleDAO.findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the Reservation Rule of the form given
|
List<ReservationRule> |
ReservationRuleDAO.findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
static ReservationRule |
ReservationRuleHome.create(ReservationRule reservationRule)
Create an instance of the ReservationRule class
|
void |
IReservationRuleDAO.insert(ReservationRule reservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
void |
ReservationRuleDAO.insert(ReservationRule reservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static ReservationRule |
ReservationRuleHome.update(ReservationRule reservationRule)
Update of the ReservationRule which is specified in parameter
|
void |
IReservationRuleDAO.update(ReservationRule appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
ReservationRuleDAO.update(ReservationRule reservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
static ReservationRule |
ReservationRuleService.createReservationRule(AppointmentFormDTO appointmentForm,
int nIdForm)
Create in database a reservation rule object from an appointmentForm DTO
|
static ReservationRule |
ReservationRuleService.findReservationRuleById(int nIdReservationRule)
Find a reservation rule with its primary key
|
static ReservationRule |
ReservationRuleService.findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm,
LocalDate dateOfApply)
Find in database a reservation rule of a form closest to a date
|
static ReservationRule |
ReservationRuleService.findReservationRuleByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply)
Find the reservation rule of a form on a specific date
|
static ReservationRule |
ReservationRuleService.updateReservationRule(AppointmentFormDTO appointmentForm,
int nIdForm)
Update in database a reservation rule with the values of an appointmentForm DTO
|
| Modifier and Type | Method and Description |
|---|---|
static Map<WeekDefinition,ReservationRule> |
ReservationRuleService.findAllReservationRule(int nIdForm,
Collection<WeekDefinition> listWeekDefinition)
Find all the reservation rule of a form
|
static List<ReservationRule> |
ReservationRuleService.findListReservationRule(int nIdForm)
Returns a list of the reservation rules of a form
|
static List<ReservationRule> |
ReservationRuleService.findListReservationRule(int nIdForm,
Collection<WeekDefinition> listWeekDefinition)
Returns a list of the reservation rules of a form
|
| Modifier and Type | Method and Description |
|---|---|
static AppointmentFormDTO |
FormService.buildAppointmentForm(int nIdForm,
ReservationRule reservationRule)
Build an appointmentForm DTO
|
static void |
FormService.fillAppointmentFormWithReservationRulePart(AppointmentFormDTO appointmentForm,
ReservationRule reservationRule)
Fill the appointmentForm DTO with the Reservation Rule
|
static void |
ReservationRuleService.fillInReservationRule(ReservationRule reservationRule,
AppointmentFormDTO appointmentForm,
int nIdForm)
Fill the reservation rule object with the corresponding values of an appointmentForm DTO
|
static LocalTime |
WeekDefinitionService.getMaxEndingTimeOfAWeekDefinition(ReservationRule reservationRule)
Get the max ending time of a week definition
|
static int |
WeekDefinitionService.getMinDurationTimeSlotOfAWeekDefinition(ReservationRule reservationRule)
Get the min duration of a time slot of a week definition
|
static LocalTime |
WeekDefinitionService.getMinStartingTimeOfAWeekDefinition(ReservationRule reservationRule)
Return the min starting time of a week definition
|
static void |
ReservationRuleService.saveReservationRule(ReservationRule reservationRule)
save a reservation rule
|
| Modifier and Type | Method and Description |
|---|---|
static List<Slot> |
CalendarBuilder.buildListSlot(int nIdForm,
Map<WeekDefinition,ReservationRule> mapReservationRule,
LocalDate startingDate,
LocalDate endingDate)
Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slot
|
static List<Slot> |
SlotService.buildListSlot(int nIdForm,
Map<WeekDefinition,ReservationRule> mapReservationRule,
LocalDate startingDate,
LocalDate endingDate)
Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slot
|
static List<Slot> |
SlotService.buildListSlot(int nIdForm,
Map<WeekDefinition,ReservationRule> mapReservationRule,
LocalDate startingDate,
LocalDate endingDate,
int nNbPlaces)
Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slot
|
static List<Slot> |
CalendarBuilder.buildListSlot(int nIdForm,
Map<WeekDefinition,ReservationRule> mapReservationRule,
LocalDate startingDate,
LocalDate endingDate,
int nNbPlaces,
boolean isAllOpenSlot)
Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slot
|
static List<Slot> |
SlotService.buildListSlot(int nIdForm,
Map<WeekDefinition,ReservationRule> mapReservationRule,
LocalDate startingDate,
LocalDate endingDate,
int nNbPlaces,
boolean bAllOpenSlot)
Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slot
|
static LocalTime |
WeekDefinitionService.getMaxEndingTimeOfAListOfWeekDefinition(List<ReservationRule> listReservationRules)
Return the max ending time of a list of week definitions
|
static int |
WeekDefinitionService.getMinDurationTimeSlotOfAListOfWeekDefinition(List<ReservationRule> listReservationRules)
Get the min duration of a time slot of a list of week definition
|
static LocalTime |
WeekDefinitionService.getMinStartingTimeOfAListOfWeekDefinition(List<ReservationRule> listReservationRules)
Return the min starting time of a list of week definitions
|
static Set<Integer> |
WeekDefinitionService.getOpenDaysOfWeek(List<ReservationRule> listReservationRules)
Get the set of the open days of all the week definitons
|
static Set<String> |
WeekDefinitionService.getSetDaysOfWeekOfAListOfWeekDefinitionForFullCalendar(List<ReservationRule> listReservationRules)
Get the working days integer enum values of a list of week definitions
|
| Modifier and Type | Class and Description |
|---|---|
class |
AppointmentFormDTO
This is the DTO class for the object AppointmentForm
|
Copyright © 2023 City of Paris. All rights reserved.