public final class WeekDefinitionDAO extends UtilDAO implements IWeekDefinitionDAO
BEAN_NAME| Constructor and Description |
|---|
WeekDefinitionDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdWeekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<WeekDefinition> |
findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get all the week definitions of a form
|
WeekDefinition |
findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the week definitions of a form for the date of apply
|
void |
insert(WeekDefinition weekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
WeekDefinition |
select(int nIdWeekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(WeekDefinition weekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
getNewPrimaryKeypublic void insert(WeekDefinition weekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IWeekDefinitionDAOinsert in interface IWeekDefinitionDAOplugin - the pluginpublic void update(WeekDefinition weekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IWeekDefinitionDAOupdate in interface IWeekDefinitionDAOweekDefinition - the reference of the WeekDefinitionplugin - the pluginpublic void delete(int nIdWeekDefinition,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IWeekDefinitionDAOdelete in interface IWeekDefinitionDAOnIdWeekDefinition - identifier of the WeekDefinition to deleteplugin - the pluginpublic WeekDefinition select(int nIdWeekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IWeekDefinitionDAOselect in interface IWeekDefinitionDAOnIdWeekDefinition - the identifier of the weekDefinitionplugin - the pluginpublic List<WeekDefinition> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IWeekDefinitionDAOfindByIdForm in interface IWeekDefinitionDAOnIdForm - the form idplugin - the pluginpublic WeekDefinition findByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IWeekDefinitionDAOfindByIdFormAndDateOfApply in interface IWeekDefinitionDAOnIdForm - the form iddateOfApply - the date of applyplugin - the pluginCopyright © 2020 City of Paris. All rights reserved.