public interface ISlotDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a appointment from the table
|
void |
deleteByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a appointment from the table
|
List<Slot> |
findByIdAppointment(int nIdAppointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the slots of a form
|
List<Slot> |
findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the slots of a form
|
List<Slot> |
findByIdFormAndDateRange(int nIdForm,
LocalDateTime startingDateTime,
LocalDateTime endingDateTime,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the slot for the date range
|
List<Slot> |
findIsSpecificByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the specific slot for the form
|
List<Slot> |
findOpenSlotsByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the open slots
|
List<Slot> |
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
|
List<Slot> |
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
|
Slot |
findSlotWithMaxDate(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the slot with the max date
|
List<LocalDate> |
findSpecificSlotDates(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the specific slot dates from the form
|
void |
insert(Slot slot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
void |
resetPotentialRemainingPlaces(fr.paris.lutece.portal.service.plugin.Plugin plugin)
update the availabilities metrics
|
Slot |
select(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(Slot slot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void |
updatePotentialRemainingPlaces(int nbPotentialRemainingPlaces,
int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
update Potential Remaining Places
|
void insert(Slot slot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
slot - instance of the Slot object to insertplugin - the pluginvoid update(Slot slot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
slot - the reference of the Slotplugin - the pluginvoid delete(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSlot - identifier of the Slot to deleteplugin - the pluginvoid deleteByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - identifier of the formplugin - the pluginSlot select(int nIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSlot - the identifier of the Slotplugin - the pluginList<Slot> findByIdFormAndDateRange(int nIdForm, LocalDateTime startingDateTime, LocalDateTime endingDateTime, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the Form IdstartingDateTime - the starting dateendingDateTime - the ending dateplugin - the pluginList<Slot> findSlotWithAppointmentByDateRange(int nIdForm, LocalDateTime startingDateTime, LocalDateTime endingDateTime, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the Form IdstartingDateTime - the starting dateendingDateTime - the ending dateplugin - the pluginList<Slot> findIsSpecificByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the Form Idplugin - the pluginList<Slot> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the form idplugin - the pluginList<Slot> findOpenSlotsByIdFormAndDateRange(int nIdForm, LocalDateTime startingDateTime, LocalDateTime endingDateTime, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the Form IdstartingDateTime - the starting dateendingDateTime - the ending dateplugin - the pluginList<Slot> findOpenSlotsByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the Form Idplugin - the pluginSlot findSlotWithMaxDate(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the form idplugin - the pluginList<Slot> findByIdAppointment(int nIdAppointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdAppointment - the appointment idplugin - the pluginvoid updatePotentialRemainingPlaces(int nbPotentialRemainingPlaces,
int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nbPotentialRemainingPlaces - nIdSlot - plugin - void resetPotentialRemainingPlaces(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginCopyright © 2021 City of Paris. All rights reserved.