Uses of Class
fr.paris.lutece.plugins.appointment.business.planning.WeekDefinition
-
Packages that use WeekDefinition Package Description fr.paris.lutece.plugins.appointment.business.planning fr.paris.lutece.plugins.appointment.service fr.paris.lutece.plugins.appointment.service.listeners -
-
Uses of WeekDefinition in fr.paris.lutece.plugins.appointment.business.planning
Methods in fr.paris.lutece.plugins.appointment.business.planning that return WeekDefinition Modifier and Type Method Description static WeekDefinitionWeekDefinitionHome. create(WeekDefinition weekDefinition)Create an instance of the WeekDefinition classWeekDefinitionIWeekDefinitionDAO. findByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the week definitions of a form for the date of applyWeekDefinitionWeekDefinitionDAO. findByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)static WeekDefinitionWeekDefinitionHome. findByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply)Get week definition for the form id and the date of apply givenWeekDefinitionIWeekDefinitionDAO. findByIdReservationRuleAndDateOfApply(int nIdReservationRule, LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the week definitions of a form for the date of applyWeekDefinitionWeekDefinitionDAO. findByIdReservationRuleAndDateOfApply(int nIdReservationRule, LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)static WeekDefinitionWeekDefinitionHome. findByIdReservationRuleAndDateOfApply(int nIdReservationRule, LocalDate dateOfApply)Get week definition for the form id and the date of apply givenstatic WeekDefinitionWeekDefinitionHome. findByPrimaryKey(int nKey)Returns an instance of the WeekDefinition whose identifier is specified in parameterWeekDefinitionIWeekDefinitionDAO. select(int nIdWeekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableWeekDefinitionWeekDefinitionDAO. select(int nIdWeekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)static WeekDefinitionWeekDefinitionHome. update(WeekDefinition weekDefinition)Update of the WeekDefinition which is specified in parameterMethods in fr.paris.lutece.plugins.appointment.business.planning that return types with arguments of type WeekDefinition Modifier and Type Method Description List<WeekDefinition>IWeekDefinitionDAO. findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the week definitions of a formList<WeekDefinition>WeekDefinitionDAO. findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)static List<WeekDefinition>WeekDefinitionHome. findByIdForm(int nIdForm)Get all the week definitions of the form givenList<WeekDefinition>IWeekDefinitionDAO. findByReservationRule(int nIdReservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get the week definitions of a form for reservation ruleList<WeekDefinition>WeekDefinitionDAO. findByReservationRule(int nIdReservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)static List<WeekDefinition>WeekDefinitionHome. findByReservationRule(int nIdReservationRule)Get the week definitions of a form for reservation ruleMethods in fr.paris.lutece.plugins.appointment.business.planning with parameters of type WeekDefinition Modifier and Type Method Description static WeekDefinitionWeekDefinitionHome. create(WeekDefinition weekDefinition)Create an instance of the WeekDefinition classvoidIWeekDefinitionDAO. insert(WeekDefinition weekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the tablevoidWeekDefinitionDAO. insert(WeekDefinition weekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)voidIWeekDefinitionDAO. update(WeekDefinition weekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the tablevoidWeekDefinitionDAO. update(WeekDefinition weekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)static WeekDefinitionWeekDefinitionHome. update(WeekDefinition weekDefinition)Update of the WeekDefinition which is specified in parameter -
Uses of WeekDefinition in fr.paris.lutece.plugins.appointment.service
Methods in fr.paris.lutece.plugins.appointment.service that return WeekDefinition Modifier and Type Method Description static WeekDefinitionWeekDefinitionService. createWeekDefinition(int nIdReservationRule, LocalDate dateOfApply, LocalDate endingDateOfApply)Create a week definition in databasestatic WeekDefinitionWeekDefinitionService. findNextWeekDefinition(int nIdForm, LocalDate previousDateOfApply)Return, if it exists, the next week definition after a given datestatic WeekDefinitionWeekDefinitionService. findWeekDefinitionById(int nIdWeekDefinition)Find a week definition by its primary key and set its working daysstatic WeekDefinitionWeekDefinitionService. findWeekDefinitionByIdFormAndClosestToDateOfApply(int nIdForm, LocalDate dateOfApply)Find a week definition of a form and a date of applystatic WeekDefinitionWeekDefinitionService. findWeekDefinitionByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply)Find the weekdefinition of a form on a specific datestatic WeekDefinitionWeekDefinitionService. findWeekDefinitionLightById(int nIdWeekDefinition)Find a week definition with its primary keystatic WeekDefinitionUtilities. getClosestWeekDefinitionInPast(List<WeekDefinition> listWeek, LocalDate dateToSearch)Return the closest Week in past a list of date with the given datestatic WeekDefinitionWeekDefinitionService. saveWeekDefinition(WeekDefinition weekDefinition)Save a week definitionMethods in fr.paris.lutece.plugins.appointment.service that return types with arguments of type WeekDefinition Modifier and Type Method Description static Map<WeekDefinition,ReservationRule>ReservationRuleService. findAllReservationRule(int nIdForm, Collection<WeekDefinition> listWeekDefinition)Find all the reservation rule of a formstatic HashMap<LocalDate,WeekDefinition>WeekDefinitionService. findAllWeekDefinition(int nIdForm)Find all the week definition of a formstatic List<WeekDefinition>WeekDefinitionService. findByReservationRule(int nIdReservationRule)Get the week definitions of a form for reservation rulestatic List<WeekDefinition>WeekDefinitionService. findListWeekDefinition(int nIdForm)Fin all the week definition of a formstatic List<WeekDefinition>WeekDefinitionService. findWeekDefinitionByDateOfApply(int nIdForm, LocalDate startingDate, LocalDate endingDate)Find a week definition of a form by date of applyMethods in fr.paris.lutece.plugins.appointment.service with parameters of type WeekDefinition Modifier and Type Method Description static voidWeekDefinitionService. assignWeekDefinition(int nIdForm, WeekDefinition newWeek)Assign a week to the calendarstatic voidWeekDefinitionService. fillInWeekDefinition(WeekDefinition weekDefinition, int nIdReservationRule, LocalDate dateOfApply, LocalDate endingDateOfApply)Fill the week definition object with the given parametersstatic voidWeekDefinitionService. removeWeekDefinition(WeekDefinition weekDefinition)Remove the weekdefinition (and by cascade the working days and the time slots)static WeekDefinitionWeekDefinitionService. saveWeekDefinition(WeekDefinition weekDefinition)Save a week definitionMethod parameters in fr.paris.lutece.plugins.appointment.service with type arguments of type WeekDefinition Modifier and Type Method 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 slotstatic 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 slotstatic List<Slot>SlotService. buildListSlot(int nIdForm, HashMap<LocalDate,WeekDefinition> mapWeekDefinition, LocalDate startingDate, LocalDate endingDate)Build all the slot for a period with all the rules (open hours ...) to apply on each day, for each slotstatic 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 slotstatic 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 slotstatic 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 slotstatic Map<WeekDefinition,ReservationRule>ReservationRuleService. findAllReservationRule(int nIdForm, Collection<WeekDefinition> listWeekDefinition)Find all the reservation rule of a formstatic List<ReservationRule>ReservationRuleService. findListReservationRule(int nIdForm, Collection<WeekDefinition> listWeekDefinition)Returns a list of the reservation rules of a formstatic WeekDefinitionUtilities. getClosestWeekDefinitionInPast(List<WeekDefinition> listWeek, LocalDate dateToSearch)Return the closest Week in past a list of date with the given datestatic booleanAppointmentUtilities. weekIsOpenInFO(AppointmentFormDTO appointmentFormDTO, List<WeekDefinition> listWeek, Locale locale)check if one of the weeks in the list is open on the FO calendar -
Uses of WeekDefinition in fr.paris.lutece.plugins.appointment.service.listeners
Methods in fr.paris.lutece.plugins.appointment.service.listeners with parameters of type WeekDefinition Modifier and Type Method Description static voidWeekDefinitionManagerListener. notifyListenersWeekDefinitionAssigned(WeekDefinition weekDefinition)Notify listeners that a week definition has been createdstatic voidWeekDefinitionManagerListener. notifyListenersWeekDefinitionUnassigned(WeekDefinition weekDefinition)Notify listeners that a Week Definition is about to be removedvoidIWeekDefinitionListener. notifyWeekAssigned(WeekDefinition weekDefinition)Notify the listener that a week definition has been assignedvoidIWeekDefinitionListener. notifyWeekUnassigned(WeekDefinition weekDefinition)Notify the listener that a week definition has been Unassigned from the calendarMethod parameters in fr.paris.lutece.plugins.appointment.service.listeners with type arguments of type WeekDefinition Modifier and Type Method Description static voidWeekDefinitionManagerListener. notifyListenersListWeekDefinitionChanged(int nIdForm, List<WeekDefinition> listWeek)Notify listeners that a list of Week Definition has been changed (assign and unasign)voidIWeekDefinitionListener. notifyListWeeksChanged(int nIdForm, List<WeekDefinition> listWeek)Notify the listener that a list of week definition has been changed (assign and unassign)
-