public interface IAppointmentSlotDAO
| Modifier and Type | Method and Description |
|---|---|
void |
create(AppointmentSlot slot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Create a new appointment slot
|
void |
delete(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an appointment slot from its id
|
void |
deleteAllByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove appointment slots associated with a given form.
|
void |
deleteByIdDay(int nIdDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove an appointment slot associated with a given day
|
void |
deleteByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove appointment slots associated with a given form.
|
void |
deleteByIdFormAndDayOfWeek(int nIdForm,
int nDayOfWeek,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete every slots associated with a given form and a given day of week
|
void |
deleteOldSlots(Date dateMonday,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete every slots that are associated with a day before a given day.
|
List<AppointmentSlot> |
findByIdDay(int nIdDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find every slots associated with a given day
|
List<AppointmentSlot> |
findByIdDayWithFreePlaces(int nIdDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of slots associated with a given day, and compute for each
slot the number of free places
|
List<AppointmentSlot> |
findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find every slots associated with a given form and not associated with any
day
|
List<AppointmentSlot> |
findByIdFormAndDayOfWeek(int nIdForm,
int nDayOfWeek,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the list of slots associated with a given form for a given day of
week.
|
AppointmentSlot |
findByPrimaryKey(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a slot from its primary key
|
AppointmentSlot |
findByPrimaryKeyWithFreePlace(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a slot from its primary key
|
AppointmentSlot |
findByPrimaryKeyWithFreePlaces(int nIdSlot,
Date date,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find a slot from its primary key.
|
List<AppointmentSlot> |
getSlotsUnavailable(int nIdDay,
int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
void |
update(AppointmentSlot slot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update an appointment slot
|
void create(AppointmentSlot slot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
slot - The appointment slot to createplugin - The pluginvoid update(AppointmentSlot slot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
slot - The appointment slot to updateplugin - The pluginvoid delete(int nIdSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSlot - The id of the slot to removeplugin - The pluginvoid deleteByIdDay(int nIdDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDay - The id of the day to remove slots fromplugin - The pluginvoid deleteAllByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The id of the form to remove slots fromplugin - The pluginvoid deleteByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The id of the form to remove slots fromplugin - The pluginvoid deleteByIdFormAndDayOfWeek(int nIdForm,
int nDayOfWeek,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The id of the formnDayOfWeek - The day of the weekplugin - The pluginvoid deleteOldSlots(Date dateMonday, fr.paris.lutece.portal.service.plugin.Plugin plugin)
dateMonday - The date of the day to remove slotsplugin - The pluginAppointmentSlot findByPrimaryKey(int nIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSlot - the id of the slot to removeplugin - The pluginAppointmentSlot findByPrimaryKeyWithFreePlaces(int nIdSlot, Date date, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSlot - The id of the slotdate - The date of the day to check for placesplugin - The pluginList<AppointmentSlot> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the id of the formplugin - The pluginList<AppointmentSlot> findByIdDay(int nIdDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDay - the id of the dayplugin - The pluginList<AppointmentSlot> findByIdFormAndDayOfWeek(int nIdForm, int nDayOfWeek, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the if of the formnDayOfWeek - The day of the week (1 for Monday, 2 for Tuesday, ...)plugin - The pluginList<AppointmentSlot> findByIdDayWithFreePlaces(int nIdDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdDay - The id of the dayplugin - The pluginList<AppointmentSlot> getSlotsUnavailable(int nIdDay, int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AppointmentSlot findByPrimaryKeyWithFreePlace(int nIdSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdSlot - the id of the slot to removeplugin - The pluginCopyright © 2016 City of Paris. All rights reserved.