| Package | Description |
|---|---|
| fr.paris.lutece.plugins.appointment.business.planning | |
| fr.paris.lutece.plugins.appointment.service | |
| fr.paris.lutece.plugins.appointment.service.listeners |
| Modifier and Type | Method and Description |
|---|---|
static WeekDefinition |
WeekDefinitionHome.create(WeekDefinition weekDefinition)
Create an instance of the WeekDefinition class
|
static WeekDefinition |
WeekDefinitionHome.findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply)
Get week definition for the form id and the date of apply given
|
WeekDefinition |
IWeekDefinitionDAO.findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the week definitions of a form for the date of apply
|
WeekDefinition |
WeekDefinitionDAO.findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static WeekDefinition |
WeekDefinitionHome.findByIdReservationRuleAndDateOfApply(int nIdReservationRule,
LocalDate dateOfApply)
Get week definition for the form id and the date of apply given
|
WeekDefinition |
IWeekDefinitionDAO.findByIdReservationRuleAndDateOfApply(int nIdReservationRule,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the week definitions of a form for the date of apply
|
WeekDefinition |
WeekDefinitionDAO.findByIdReservationRuleAndDateOfApply(int nIdReservationRule,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static WeekDefinition |
WeekDefinitionHome.findByPrimaryKey(int nKey)
Returns an instance of the WeekDefinition whose identifier is specified in parameter
|
WeekDefinition |
IWeekDefinitionDAO.select(int nIdWeekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
WeekDefinition |
WeekDefinitionDAO.select(int nIdWeekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static WeekDefinition |
WeekDefinitionHome.update(WeekDefinition weekDefinition)
Update of the WeekDefinition which is specified in parameter
|
| Modifier and Type | Method and Description |
|---|---|
static List<WeekDefinition> |
WeekDefinitionHome.findByIdForm(int nIdForm)
Get all the week definitions of the form given
|
List<WeekDefinition> |
IWeekDefinitionDAO.findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the week definitions of a form
|
List<WeekDefinition> |
WeekDefinitionDAO.findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static List<WeekDefinition> |
WeekDefinitionHome.findByReservationRule(int nIdReservationRule)
Get the week definitions of a form for reservation rule
|
List<WeekDefinition> |
IWeekDefinitionDAO.findByReservationRule(int nIdReservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the week definitions of a form for reservation rule
|
List<WeekDefinition> |
WeekDefinitionDAO.findByReservationRule(int nIdReservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
static WeekDefinition |
WeekDefinitionHome.create(WeekDefinition weekDefinition)
Create an instance of the WeekDefinition class
|
void |
IWeekDefinitionDAO.insert(WeekDefinition weekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
void |
WeekDefinitionDAO.insert(WeekDefinition weekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
static WeekDefinition |
WeekDefinitionHome.update(WeekDefinition weekDefinition)
Update of the WeekDefinition which is specified in parameter
|
void |
IWeekDefinitionDAO.update(WeekDefinition weekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
WeekDefinitionDAO.update(WeekDefinition weekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
static WeekDefinition |
WeekDefinitionService.createWeekDefinition(int nIdReservationRule,
LocalDate dateOfApply,
LocalDate endingDateOfApply)
Create a week definition in database
|
static WeekDefinition |
WeekDefinitionService.findNextWeekDefinition(int nIdForm,
LocalDate previousDateOfApply)
Return, if it exists, the next week definition after a given date
|
static WeekDefinition |
WeekDefinitionService.findWeekDefinitionById(int nIdWeekDefinition)
Find a week definition by its primary key and set its working days
|
static WeekDefinition |
WeekDefinitionService.findWeekDefinitionByIdFormAndClosestToDateOfApply(int nIdForm,
LocalDate dateOfApply)
Find a week definition of a form and a date of apply
|
static WeekDefinition |
WeekDefinitionService.findWeekDefinitionByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply)
Find the weekdefinition of a form on a specific date
|
static WeekDefinition |
WeekDefinitionService.findWeekDefinitionLightById(int nIdWeekDefinition)
Find a week definition with its primary key
|
static WeekDefinition |
Utilities.getClosestWeekDefinitionInPast(List<WeekDefinition> listWeek,
LocalDate dateToSearch)
Return the closest Week in past a list of date with the given date
|
static WeekDefinition |
WeekDefinitionService.saveWeekDefinition(WeekDefinition weekDefinition)
Save a week definition
|
| 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 HashMap<LocalDate,WeekDefinition> |
WeekDefinitionService.findAllWeekDefinition(int nIdForm)
Find all the week definition of a form
|
static List<WeekDefinition> |
WeekDefinitionService.findByReservationRule(int nIdReservationRule)
Get the week definitions of a form for reservation rule
|
static List<WeekDefinition> |
WeekDefinitionService.findListWeekDefinition(int nIdForm)
Fin all the week definition of a form
|
static List<WeekDefinition> |
WeekDefinitionService.findWeekDefinitionByDateOfApply(int nIdForm,
LocalDate startingDate,
LocalDate endingDate)
Find a week definition of a form by date of apply
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WeekDefinitionService.assignWeekDefinition(int nIdForm,
WeekDefinition newWeek)
Assign a week to the calendar
|
static void |
WeekDefinitionService.fillInWeekDefinition(WeekDefinition weekDefinition,
int nIdReservationRule,
LocalDate dateOfApply,
LocalDate endingDateOfApply)
Fill the week definition object with the given parameters
|
static void |
WeekDefinitionService.removeWeekDefinition(WeekDefinition weekDefinition)
Remove the weekdefinition (and by cascade the working days and the time slots)
|
static WeekDefinition |
WeekDefinitionService.saveWeekDefinition(WeekDefinition weekDefinition)
Save a week definition
|
| Modifier and Type | Method and Description |
|---|---|
static 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 slot
|
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 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,
Collection<WeekDefinition> listWeekDefinition)
Returns a list of the reservation rules of a form
|
static WeekDefinition |
Utilities.getClosestWeekDefinitionInPast(List<WeekDefinition> listWeek,
LocalDate dateToSearch)
Return the closest Week in past a list of date with the given date
|
static boolean |
AppointmentUtilities.weekIsOpenInFO(AppointmentFormDTO appointmentFormDTO,
List<WeekDefinition> listWeek,
Locale locale)
check if one of the weeks in the list is open on the FO calendar
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WeekDefinitionManagerListener.notifyListenersWeekDefinitionAssigned(WeekDefinition weekDefinition)
Notify listeners that a week definition has been created
|
static void |
WeekDefinitionManagerListener.notifyListenersWeekDefinitionUnassigned(WeekDefinition weekDefinition)
Notify listeners that a Week Definition is about to be removed
|
void |
IWeekDefinitionListener.notifyWeekAssigned(WeekDefinition weekDefinition)
Notify the listener that a week definition has been assigned
|
void |
IWeekDefinitionListener.notifyWeekUnassigned(WeekDefinition weekDefinition)
Notify the listener that a week definition has been Unassigned from the calendar
|
| Modifier and Type | Method and Description |
|---|---|
static void |
WeekDefinitionManagerListener.notifyListenersListWeekDefinitionChanged(int nIdForm,
List<WeekDefinition> listWeek)
Notify listeners that a list of Week Definition has been changed (assign and unasign)
|
void |
IWeekDefinitionListener.notifyListWeeksChanged(int nIdForm,
List<WeekDefinition> listWeek)
Notify the listener that a list of week definition has been changed (assign and unassign)
|
Copyright © 2023 City of Paris. All rights reserved.