| Modifier and Type | Method and Description |
|---|---|
List<Slot> |
Appointment.getSlot()
Get the list slot of the appointment
|
| Modifier and Type | Method and Description |
|---|---|
void |
Appointment.addSlot(Slot slot) |
| Modifier and Type | Method and Description |
|---|---|
void |
Appointment.addAllSlot(List<Slot> listSlot) |
void |
Appointment.setSlot(List<Slot> listSlot)
Set the listslot of the appointment
|
| Modifier and Type | Method and Description |
|---|---|
static Slot |
SlotHome.create(Slot slot)
Create an instance of the Slot class
|
static Slot |
SlotHome.findByPrimaryKey(int nKey)
Returns an instance of the Slot whose identifier is specified in parameter
|
Slot |
SlotDAO.findSlotWithMaxDate(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Slot |
ISlotDAO.findSlotWithMaxDate(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the slot with the max date
|
static Slot |
SlotHome.findSlotWithTheMaxDate(int nIdForm)
Return the Slot that have the max date
|
Slot |
SlotDAO.select(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
Slot |
ISlotDAO.select(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
static Slot |
SlotHome.update(Slot slot)
Update of the Slot which is specified in parameter
|
| Modifier and Type | Method and Description |
|---|---|
static List<Slot> |
SlotHome.findByIdAppointment(int nIdAppointment)
Returns a list of slots of a form
|
List<Slot> |
SlotDAO.findByIdAppointment(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<Slot> |
ISlotDAO.findByIdAppointment(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the slots of a form
|
static List<Slot> |
SlotHome.findByIdForm(int nIdForm)
Returns a list of slots of a form
|
List<Slot> |
SlotDAO.findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<Slot> |
ISlotDAO.findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the slots of a form
|
static List<Slot> |
SlotHome.findByIdFormAndDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime)
Returns a list of slots for a date range
|
List<Slot> |
SlotDAO.findByIdFormAndDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<Slot> |
ISlotDAO.findByIdFormAndDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the slot for the date range
|
static List<Slot> |
SlotHome.findIsSpecificByIdForm(int nIdForm)
Returns a list of specific slots for a form
|
List<Slot> |
SlotDAO.findIsSpecificByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<Slot> |
ISlotDAO.findIsSpecificByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the specific slot for the form
|
static List<Slot> |
SlotHome.findOpenSlotsByIdForm(int nIdForm)
Returns a list of open slots
|
List<Slot> |
SlotDAO.findOpenSlotsByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<Slot> |
ISlotDAO.findOpenSlotsByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the open slots
|
static List<Slot> |
SlotHome.findOpenSlotsByIdFormAndDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime)
Returns a list of open slots for a date range
|
List<Slot> |
SlotDAO.findOpenSlotsByIdFormAndDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<Slot> |
ISlotDAO.findOpenSlotsByIdFormAndDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the open slots for the given date range
|
static List<Slot> |
SlotHome.findSlotWithAppointmentByDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime)
Returns all the slot containing an appointment for the date range
|
List<Slot> |
SlotDAO.findSlotWithAppointmentByDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<Slot> |
ISlotDAO.findSlotWithAppointmentByDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the slot containing an appointment for the date range
|
| Modifier and Type | Method and Description |
|---|---|
static Slot |
SlotHome.create(Slot slot)
Create an instance of the Slot class
|
void |
SlotDAO.insert(Slot slot,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
ISlotDAO.insert(Slot slot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
static Slot |
SlotHome.update(Slot slot)
Update of the Slot which is specified in parameter
|
void |
SlotDAO.update(Slot slot,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
ISlotDAO.update(Slot slot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
| Modifier and Type | Method and Description |
|---|---|
static Slot |
SlotService.buildSlot(int nIdForm,
Period period,
int nMaxCapacity,
int nNbRemainingPlaces,
int nNbPotentialRemainingPlaces,
int nNbPlacesTaken,
boolean bIsOpen,
boolean bIsSpecific)
Build a slot with all its values
|
static Slot |
SlotService.createSlot(Slot slot)
Create a slot in db
|
static Slot |
SlotSafeService.createSlot(Slot slot)
Create slot
|
static Slot |
SlotService.findSlotById(int nIdSlot)
Find a slot with its primary key
|
static Slot |
SlotService.findSlotWithMaxDate(int nIdForm)
Return the slot with the max Date
|
static Slot |
SlotService.saveSlot(Slot slot)
Save a slot in database
|
static Slot |
SlotSafeService.saveSlot(Slot slot)
Save a slot in database
|
static Slot |
SlotService.updateSlot(Slot slot)
Update a slot
|
static Slot |
SlotSafeService.updateSlot(Slot slot)
Update a slot
|
| 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> |
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> |
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 List<Slot> |
RecursiveSlotTask.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 HashMap<LocalDateTime,Slot> |
SlotService.buildMapSlotsByIdFormAndDateRangeWithDateForKey(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime)
Build a map (Date, Slot) of all the slots found between the two dates
|
static List<Slot> |
SlotService.findListOpenSlotByIdFormAndDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime)
Find the open slots of a form on a given period of time
|
static List<Slot> |
SlotService.findListSlot(int nIdForm)
Fins all the slots of a form
|
static List<Slot> |
SlotService.findListSlotByIdAppointment(int nIdAppointment)
Fins all the slots of a form
|
static List<Slot> |
SlotService.findSlotsByIdFormAndDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime)
Find slots of a form on a given period of time
|
static List<Slot> |
AppointmentUtilities.findSlotsImpactedByThisTimeSlot(TimeSlot timeSlot,
int nIdForm,
int nIdWeekDefinition,
boolean bShiftSlot)
Return the slots impacted by the modification of this time slot
|
static List<Slot> |
SlotService.findSlotWithAppointmentByDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime)
Find slots with appointment of a form on a given period of time
|
static List<Slot> |
SlotService.findSpecificSlotsByIdForm(int nIdForm)
Find specific slots of a form
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SlotService.addDateAndTimeToSlot(Slot slot)
Form the DTO, adding the date and the time to the slot
|
static boolean |
AppointmentUtilities.checkNoValidatedAppointmentsOnThisSlot(Slot slot)
Check that there is no validated appointments on a slot
|
static Slot |
SlotService.createSlot(Slot slot)
Create a slot in db
|
static Slot |
SlotSafeService.createSlot(Slot slot)
Create slot
|
static void |
SlotService.deleteSlot(Slot slot)
Delete a slot
|
static boolean |
SlotService.isSpecificSlot(Slot slot)
To know if it's a specific slot, need to search for a similar time slot
|
static boolean |
SlotService.isSpecificSlot(Slot slot,
WorkingDay workingDay,
List<TimeSlot> listTimeSlot,
int nMaxCapacity)
To know if it's a specific slot, need to search for a similar time slot
|
static Slot |
SlotService.saveSlot(Slot slot)
Save a slot in database
|
static Slot |
SlotSafeService.saveSlot(Slot slot)
Save a slot in database
|
static void |
SlotService.updateRemainingPlaces(Slot slot)
Update the capacity of the slot
|
static void |
SlotSafeService.updateRemainingPlaces(Slot slot)
Update the capacity of the slot
|
static Slot |
SlotService.updateSlot(Slot slot)
Update a slot
|
static Slot |
SlotSafeService.updateSlot(Slot slot)
Update a slot
|
static void |
SlotService.updateSlot(Slot slot,
boolean bEndingTimeHasChanged,
LocalTime previousEndingTime,
boolean bShifSlot)
Update a slot in database and possibly all the slots after (if the ending hour has changed, all the next slots are impacted in case of the user decide to
shift the next slots)
|
static void |
SlotSafeService.updateSlot(Slot slot,
boolean bEndingTimeHasChanged,
LocalTime previousEndingTime,
boolean bShifSlot)
Update a slot in database and possibly all the slots after (if the ending hour has changed, all the next slots are impacted in case of the user decide to
shift the next slots)
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
AppointmentUtilities.checkListSlotIsBuildedCorrectly(int nIdForm,
List<Slot> listSlots)
Check if list of slot is builded correctly
|
static boolean |
AppointmentUtilities.checkNoAppointmentsImpacted(List<Slot> listSlotWithAppointment,
AppointmentFormDTO appointmentForm)
Check if there are appointments impacted by the new week definition
|
static boolean |
AppointmentUtilities.checkNoAppointmentsImpacted(List<Slot> listSlotsImpacted,
int idReservationRule)
Check if there are appointments impacted by the new week definition
|
static void |
SlotService.deleteListSlots(List<Slot> listSlotToDelete)
Delete a list of slots
|
static List<Appointment> |
AppointmentService.findListAppointmentByListSlot(List<Slot> listSlot)
Find all the appointments of the slots given in parameter
|
static boolean |
AppointmentUtilities.isConsecutiveSlots(List<Slot> allSlots)
return true if all slots are consecutive
|
| Modifier and Type | Method and Description |
|---|---|
static void |
SlotListenerManager.notifyListenersSlotRemoval(Slot slot)
Notify listeners that a Slot is about to be removed
|
void |
ISlotListener.notifySlotRemoval(Slot slot)
Notify the listener that a slot has been deleted
|
Copyright © 2021 City of Paris. All rights reserved.