Interface ITimeSlotDAO
- All Known Implementing Classes:
TimeSlotDAO
public interface ITimeSlotDAO
TimeSlot DAO Interface
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(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 dayfindByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get all the time slots of the working dayvoidInsert a new record in the tableselect(int nIdTimeSlot, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablevoidUpdate the record in the table
-
Method Details
-
insert
Insert a new record in the table- Parameters:
timeSlot- instance of the timeSlot object to insertplugin- the plugin
-
update
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
Load the data from the table- Parameters:
nIdTimeSlot- the identifier of the timeSlotplugin- the plugin- Returns:
- the instance of the timeSlot
-
findByIdWorkingDay
List<TimeSlot> findByIdWorkingDay(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get all the time slots of the working day- Parameters:
nIdWorkingDay- the working day idplugin- the plugin- Returns:
- the list of all the time slots of the working day
-