Interface ITimeSlotDAO
-
- All Known Implementing Classes:
TimeSlotDAO
public interface ITimeSlotDAOTimeSlot DAO Interface- Author:
- Laurent Payen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoiddeleteByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table by working dayList<TimeSlot>findByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)Get all the time slots of the working dayvoidinsert(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the tableTimeSlotselect(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablevoidupdate(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table- Parameters:
timeSlot- instance of the timeSlot object to insertplugin- the plugin
-
update
void update(TimeSlot timeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
timeSlot- the reference of the timeSlotplugin- the plugin
-
delete
void delete(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nIdTimeSlot- identifier of the timeSlot to deleteplugin- the plugin
-
deleteByIdWorkingDay
void deleteByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table by working day- Parameters:
nIdTimeSlot- identifier of the timeSlot to deleteplugin- the plugin
-
select
TimeSlot select(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nIdTimeSlot- the identifier of the timeSlotplugin- the plugin- Returns:
- the instance of the timeSlot
-
-