Interface IWorkingDayDAO
- All Known Implementing Classes:
WorkingDayDAO
public interface IWorkingDayDAO
WorkingDay DAO Interface
- Author:
- Laurent Payen
-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoiddeleteByIdReservationRule(int nIdReservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a working day by id reservation rulefindByIdReservationRule(int nIdWeekDefinitionRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get all the working days of the weekdefinition givenvoidinsert(WorkingDay workingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the tableselect(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablevoidupdate(WorkingDay workingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
Insert a new record in the table- Parameters:
workingDay- instance of the WorkingDay object to insertplugin- the plugin
-
update
Update the record in the table- Parameters:
workingDay- the reference of the WorkingDayplugin- the plugin
-
delete
void delete(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
nIdWorkingDay- identifier of the WorkingDay to deleteplugin- the plugin
-
deleteByIdReservationRule
void deleteByIdReservationRule(int nIdReservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a working day by id reservation rule- Parameters:
nIdReservationRule- the reservation rule idplugin- the plugin
-
select
Load the data from the table- Parameters:
nIdWorkingDay- the identifier of the WorkingDayplugin- the plugin- Returns:
- the instance of the WorkingDay
-
findByIdReservationRule
List<WorkingDay> findByIdReservationRule(int nIdWeekDefinitionRule, fr.paris.lutece.portal.service.plugin.Plugin plugin) Get all the working days of the weekdefinition given- Parameters:
nIdWeekDefinitionRule- the WeekDefinitionRule idplugin- the Plugin- Returns:
- the list of all the working days of the weekdefinition
-