Package | Description |
---|---|
fr.paris.lutece.plugins.appointment.business.planning | |
fr.paris.lutece.plugins.appointment.service |
Modifier and Type | Method and Description |
---|---|
static TimeSlot |
TimeSlotHome.create(TimeSlot timeSlot)
Create an instance of the TimeSlot class
|
static TimeSlot |
TimeSlotHome.findByPrimaryKey(int nKey)
Returns an instance of the TimeSlot whose identifier is specified in parameter
|
TimeSlot |
TimeSlotDAO.select(int nIdTimeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
TimeSlot |
ITimeSlotDAO.select(int nIdTimeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
static TimeSlot |
TimeSlotHome.update(TimeSlot timeSlot)
Update of the TimeSlot which is specified in parameter
|
Modifier and Type | Method and Description |
---|---|
static List<TimeSlot> |
TimeSlotHome.findByIdWorkingDay(int nIdWorkingDay)
Get all the time slots of the working day given
|
List<TimeSlot> |
TimeSlotDAO.findByIdWorkingDay(int nIdWorkingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
List<TimeSlot> |
ITimeSlotDAO.findByIdWorkingDay(int nIdWorkingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the time slots of the working day
|
List<TimeSlot> |
WorkingDay.getListTimeSlot()
Get the time slots of the working day
|
Modifier and Type | Method and Description |
---|---|
static TimeSlot |
TimeSlotHome.create(TimeSlot timeSlot)
Create an instance of the TimeSlot class
|
void |
TimeSlotDAO.insert(TimeSlot timeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
ITimeSlotDAO.insert(TimeSlot timeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
static TimeSlot |
TimeSlotHome.update(TimeSlot timeSlot)
Update of the TimeSlot which is specified in parameter
|
void |
TimeSlotDAO.update(TimeSlot timeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
ITimeSlotDAO.update(TimeSlot timeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
Modifier and Type | Method and Description |
---|---|
void |
WorkingDay.setListTimeSlot(List<TimeSlot> listTimeSlots)
Set the time slots of the working day
|
Modifier and Type | Method and Description |
---|---|
static TimeSlot |
TimeSlotService.findTimeSlotById(int nIdTimeSlot)
Find a timeSlot with its primary key
|
static TimeSlot |
TimeSlotService.generateTimeSlot(int nIdWorkingDay,
LocalTime startingTime,
LocalTime endingTime,
boolean isOpen,
int nMaxCapacity)
Build a timeSlot with all its values
|
static TimeSlot |
TimeSlotService.getTimeSlotInListOfTimeSlotWithStartingTime(List<TimeSlot> listTimeSlot,
LocalTime timeToSearch)
Returns the time slot in a list of time slot with the given starting time
|
static TimeSlot |
TimeSlotService.saveTimeSlot(TimeSlot timeSlot)
Save a time slot
|
Modifier and Type | Method and Description |
---|---|
static List<TimeSlot> |
TimeSlotService.findListTimeSlotAfterThisTimeSlot(TimeSlot timeSlot)
Find the next time slots of a given time slot
|
static List<TimeSlot> |
TimeSlotService.findListTimeSlotByWorkingDay(int nIdWorkingDay)
Find the time slots of a working day
|
static List<TimeSlot> |
TimeSlotService.generateListTimeSlot(int nIdWorkingDay,
LocalTime startingTime,
LocalTime endingTime,
int nDuration,
int nMaxCapacity,
boolean forceTimeSlotCreationWithMinTime)
Build a list of timeSlot Object from a starting time to an endingTime
|
static List<TimeSlot> |
TimeSlotService.getListTimeSlotOfAListOfWorkingDay(List<WorkingDay> listWorkingDay,
LocalDate dateInWeek)
Get the time slots of a list of working days
|
static List<TimeSlot> |
TimeSlotService.getNextTimeSlotsInAListOfTimeSlotAfterALocalTime(List<TimeSlot> listTimeSlot,
LocalTime time)
Return an ordered and filtered list of time slots after a given time
|
Modifier and Type | Method and Description |
---|---|
static List<TimeSlot> |
TimeSlotService.findListTimeSlotAfterThisTimeSlot(TimeSlot timeSlot)
Find the next time slots of a given time slot
|
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 TimeSlot |
TimeSlotService.saveTimeSlot(TimeSlot timeSlot)
Save a time slot
|
static void |
TimeSlotService.updateTimeSlot(TimeSlot timeSlot,
boolean bEndingTimeHasChanged,
boolean bShifSlot)
Update a timeSLot in database
|
Modifier and Type | Method and Description |
---|---|
static void |
TimeSlotService.createListTimeSlot(List<TimeSlot> listTimeSlotToCreate)
Create in database the slots given
|
static void |
TimeSlotService.deleteListTimeSlot(List<TimeSlot> listTimeSlot)
Delete in database time slots
|
static List<TimeSlot> |
TimeSlotService.getNextTimeSlotsInAListOfTimeSlotAfterALocalTime(List<TimeSlot> listTimeSlot,
LocalTime time)
Return an ordered and filtered list of time slots after a given time
|
static TimeSlot |
TimeSlotService.getTimeSlotInListOfTimeSlotWithStartingTime(List<TimeSlot> listTimeSlot,
LocalTime timeToSearch)
Returns the time slot in a list of time slot with the given starting time
|
Copyright © 2018 City of Paris. All rights reserved.