public interface IWeekDefinitionDAO
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_NAME
The name of the bean of the DAO
|
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
|
static final String BEAN_NAME
void insert(WeekDefinition weekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
appointment
- instance of the WeekDefinition object to insertplugin
- the pluginvoid update(WeekDefinition weekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
weekDefinition
- the reference of the WeekDefinitionplugin
- the pluginvoid delete(int nIdWeekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdWeekDefinition
- identifier of the WeekDefinition to deleteplugin
- the pluginWeekDefinition select(int nIdWeekDefinition, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdWeekDefinition
- the identifier of the weekDefinitionplugin
- the pluginList<WeekDefinition> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm
- the form idplugin
- the pluginWeekDefinition findByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm
- the form iddateOfApply
- the date of applyplugin
- the pluginCopyright © 2018 City of Paris. All rights reserved.