Uses of Class
fr.paris.lutece.plugins.appointment.business.rule.ReservationRule
-
Packages that use ReservationRule Package Description fr.paris.lutece.plugins.appointment.business.rule fr.paris.lutece.plugins.appointment.service fr.paris.lutece.plugins.appointment.web.dto -
-
Uses of ReservationRule in fr.paris.lutece.plugins.appointment.business.rule
Methods in fr.paris.lutece.plugins.appointment.business.rule that return ReservationRule Modifier and Type Method Description static ReservationRuleReservationRuleHome. create(ReservationRule reservationRule)Create an instance of the ReservationRule classReservationRuleIReservationRuleDAO. findByIdFormAndDateOfApply(int nIdForm, java.time.LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns the Reservation Rule with the given search parametersReservationRuleReservationRuleDAO. findByIdFormAndDateOfApply(int nIdForm, java.time.LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)static ReservationRuleReservationRuleHome. findByIdFormAndDateOfApply(int nIdForm, java.time.LocalDate dateOfApply)Returns the Reservation Rule with the given search parametersstatic ReservationRuleReservationRuleHome. findByPrimaryKey(int nKey)Returns an instance of the ReservationRule whose identifier is specified in parameterReservationRuleIReservationRuleDAO. findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm, java.time.LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)Find in database a reservation rule of a form closest to a dateReservationRuleReservationRuleDAO. findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm, java.time.LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)static ReservationRuleReservationRuleHome. findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm, java.time.LocalDate dateOfApply)Find in database a reservation rule of a form closest to a dateReservationRuleIReservationRuleDAO. select(int nIdReservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableReservationRuleReservationRuleDAO. select(int nIdReservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)static ReservationRuleReservationRuleHome. update(ReservationRule reservationRule)Update of the ReservationRule which is specified in parameterMethods in fr.paris.lutece.plugins.appointment.business.rule that return types with arguments of type ReservationRule Modifier and Type Method Description java.util.List<ReservationRule>IReservationRuleDAO. findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Returns all the Reservation Rule of the form givenjava.util.List<ReservationRule>ReservationRuleDAO. findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)static java.util.List<ReservationRule>ReservationRuleHome. findByIdForm(int nIdForm)Returns all the Reservation Rule of a formMethods in fr.paris.lutece.plugins.appointment.business.rule with parameters of type ReservationRule Modifier and Type Method Description static ReservationRuleReservationRuleHome. create(ReservationRule reservationRule)Create an instance of the ReservationRule classvoidIReservationRuleDAO. insert(ReservationRule reservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the tablevoidReservationRuleDAO. insert(ReservationRule reservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)voidIReservationRuleDAO. update(ReservationRule appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the tablevoidReservationRuleDAO. update(ReservationRule reservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)static ReservationRuleReservationRuleHome. update(ReservationRule reservationRule)Update of the ReservationRule which is specified in parameter -
Uses of ReservationRule in fr.paris.lutece.plugins.appointment.service
Methods in fr.paris.lutece.plugins.appointment.service that return ReservationRule Modifier and Type Method Description static ReservationRuleReservationRuleService. createReservationRule(AppointmentFormDTO appointmentForm, int nIdForm)Create in database a reservation rule object from an appointmentForm DTOstatic ReservationRuleReservationRuleService. findReservationRuleById(int nIdReservationRule)Find a reservation rule with its primary keystatic ReservationRuleReservationRuleService. findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm, java.time.LocalDate dateOfApply)Find in database a reservation rule of a form closest to a datestatic ReservationRuleReservationRuleService. findReservationRuleByIdFormAndDateOfApply(int nIdForm, java.time.LocalDate dateOfApply)Find the reservation rule of a form on a specific datestatic ReservationRuleReservationRuleService. updateReservationRule(AppointmentFormDTO appointmentForm, int nIdForm)Update in database a reservation rule with the values of an appointmentForm DTOMethods in fr.paris.lutece.plugins.appointment.service that return types with arguments of type ReservationRule Modifier and Type Method Description static java.util.Map<WeekDefinition,ReservationRule>ReservationRuleService. findAllReservationRule(int nIdForm, java.util.Collection<WeekDefinition> listWeekDefinition)Find all the reservation rule of a formstatic java.util.List<ReservationRule>ReservationRuleService. findListReservationRule(int nIdForm)Returns a list of the reservation rules of a formstatic java.util.List<ReservationRule>ReservationRuleService. findListReservationRule(int nIdForm, java.util.Collection<WeekDefinition> listWeekDefinition)Returns a list of the reservation rules of a formMethods in fr.paris.lutece.plugins.appointment.service with parameters of type ReservationRule Modifier and Type Method Description static AppointmentFormDTOFormService. buildAppointmentForm(int nIdForm, ReservationRule reservationRule)Build an appointmentForm DTOstatic voidFormService. fillAppointmentFormWithReservationRulePart(AppointmentFormDTO appointmentForm, ReservationRule reservationRule)Fill the appointmentForm DTO with the Reservation Rulestatic voidReservationRuleService. fillInReservationRule(ReservationRule reservationRule, AppointmentFormDTO appointmentForm, int nIdForm)Fill the reservation rule object with the corresponding values of an appointmentForm DTOstatic java.time.LocalTimeWeekDefinitionService. getMaxEndingTimeOfAWeekDefinition(ReservationRule reservationRule)Get the max ending time of a week definitionstatic intWeekDefinitionService. getMinDurationTimeSlotOfAWeekDefinition(ReservationRule reservationRule)Get the min duration of a time slot of a week definitionstatic java.time.LocalTimeWeekDefinitionService. getMinStartingTimeOfAWeekDefinition(ReservationRule reservationRule)Return the min starting time of a week definitionstatic voidReservationRuleService. saveReservationRule(ReservationRule reservationRule)save a reservation ruleMethod parameters in fr.paris.lutece.plugins.appointment.service with type arguments of type ReservationRule Modifier and Type Method Description static java.util.List<Slot>CalendarBuilder. buildListSlot(int nIdForm, java.util.Map<WeekDefinition,ReservationRule> mapReservationRule, java.time.LocalDate startingDate, java.time.LocalDate endingDate)Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slotstatic java.util.List<Slot>CalendarBuilder. buildListSlot(int nIdForm, java.util.Map<WeekDefinition,ReservationRule> mapReservationRule, java.time.LocalDate startingDate, java.time.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 slotstatic java.util.List<Slot>SlotService. buildListSlot(int nIdForm, java.util.Map<WeekDefinition,ReservationRule> mapReservationRule, java.time.LocalDate startingDate, java.time.LocalDate endingDate)Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slotstatic java.util.List<Slot>SlotService. buildListSlot(int nIdForm, java.util.Map<WeekDefinition,ReservationRule> mapReservationRule, java.time.LocalDate startingDate, java.time.LocalDate endingDate, int nNbPlaces)Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slotstatic java.util.List<Slot>SlotService. buildListSlot(int nIdForm, java.util.Map<WeekDefinition,ReservationRule> mapReservationRule, java.time.LocalDate startingDate, java.time.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 slotstatic java.time.LocalTimeWeekDefinitionService. getMaxEndingTimeOfAListOfWeekDefinition(java.util.List<ReservationRule> listReservationRules)Return the max ending time of a list of week definitionsstatic intWeekDefinitionService. getMinDurationTimeSlotOfAListOfWeekDefinition(java.util.List<ReservationRule> listReservationRules)Get the min duration of a time slot of a list of week definitionstatic java.time.LocalTimeWeekDefinitionService. getMinStartingTimeOfAListOfWeekDefinition(java.util.List<ReservationRule> listReservationRules)Return the min starting time of a list of week definitionsstatic java.util.Set<java.lang.Integer>WeekDefinitionService. getOpenDaysOfWeek(java.util.List<ReservationRule> listReservationRules)Get the set of the open days of all the week definitonsstatic java.util.Set<java.lang.String>WeekDefinitionService. getSetDaysOfWeekOfAListOfWeekDefinitionForFullCalendar(java.util.List<ReservationRule> listReservationRules)Get the working days integer enum values of a list of week definitions -
Uses of ReservationRule in fr.paris.lutece.plugins.appointment.web.dto
Subclasses of ReservationRule in fr.paris.lutece.plugins.appointment.web.dto Modifier and Type Class Description classAppointmentFormDTOThis is the DTO class for the object AppointmentForm
-