public final class TimeSlotDAO extends UtilDAO implements ITimeSlotDAO
BEAN_NAME
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
|
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
|
getNewPrimaryKey
public void insert(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAO
insert
in interface ITimeSlotDAO
timeSlot
- instance of the timeSlot object to insertplugin
- the pluginpublic void update(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAO
update
in interface ITimeSlotDAO
timeSlot
- the reference of the timeSlotplugin
- the pluginpublic void delete(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAO
delete
in interface ITimeSlotDAO
nIdTimeSlot
- identifier of the timeSlot to deleteplugin
- the pluginpublic TimeSlot select(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAO
select
in interface ITimeSlotDAO
nIdTimeSlot
- the identifier of the timeSlotplugin
- the pluginpublic List<TimeSlot> findByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
ITimeSlotDAO
findByIdWorkingDay
in interface ITimeSlotDAO
nIdWorkingDay
- the working day idplugin
- the pluginCopyright © 2018 City of Paris. All rights reserved.