public final class TimeSlotDAO extends Object implements ITimeSlotDAO
| Constructor and Description |
|---|
TimeSlotDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdTimeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByIdWorkingDay(int nIdWorkingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table by working day
|
List<TimeSlot> |
findByIdWorkingDay(int nIdWorkingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the time slots of the working day
|
void |
insert(TimeSlot timeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
TimeSlot |
select(int nIdTimeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(TimeSlot timeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAOinsert in interface ITimeSlotDAOtimeSlot - instance of the timeSlot object to insertplugin - the pluginpublic void update(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAOupdate in interface ITimeSlotDAOtimeSlot - the reference of the timeSlotplugin - the pluginpublic void delete(int nIdTimeSlot,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAOdelete in interface ITimeSlotDAOnIdTimeSlot - identifier of the timeSlot to deleteplugin - the pluginpublic void deleteByIdWorkingDay(int nIdWorkingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAOdeleteByIdWorkingDay in interface ITimeSlotDAOplugin - the pluginpublic TimeSlot select(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAOselect in interface ITimeSlotDAOnIdTimeSlot - the identifier of the timeSlotplugin - the pluginpublic List<TimeSlot> findByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAOfindByIdWorkingDay in interface ITimeSlotDAOnIdWorkingDay - the working day idplugin - the pluginCopyright © 2022 City of Paris. All rights reserved.