Interface IWorkingDayDAO
-
- All Known Implementing Classes:
WorkingDayDAO
public interface IWorkingDayDAOWorkingDay DAO Interface- Author:
- Laurent Payen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(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 ruleList<WorkingDay>findByIdReservationRule(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 tableWorkingDayselect(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 Detail
-
insert
void insert(WorkingDay workingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table- Parameters:
workingDay- instance of the WorkingDay object to insertplugin- the plugin
-
update
void update(WorkingDay workingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
WorkingDay select(int nIdWorkingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
-
-