public interface IClosingDayDAO
| 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 nIdClosingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<ClosingDay> |
findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the closing days of a form
|
ClosingDay |
findByIdFormAndDateOfClosingDay(int nIdForm,
LocalDate dateOfCLosingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the closing day if exists
|
List<ClosingDay> |
findByIdFormAndDateRange(int nIdForm,
LocalDate startingDate,
LocalDate endingDate,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the closing days of the form on a period
|
void |
insert(ClosingDay closingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
ClosingDay |
select(int nIdClosingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(ClosingDay closingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static final String BEAN_NAME
void insert(ClosingDay closingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
closingDay - instance of the Closing Day object to insertplugin - the Pluginvoid update(ClosingDay closingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
closingDay - the reference of the Closing Dayplugin - the Pluginvoid delete(int nIdClosingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdClosingDay - int identifier of the Closing Day to deleteplugin - the PluginClosingDay select(int nIdClosingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdClosingDay - The identifier of the Closing Dayplugin - the PluginClosingDay findByIdFormAndDateOfClosingDay(int nIdForm, LocalDate dateOfCLosingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the Form IddateOfCLosingDay - the date of the closing dayplugin - the pluginList<ClosingDay> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the form Idplugin - the pluginList<ClosingDay> findByIdFormAndDateRange(int nIdForm, LocalDate startingDate, LocalDate endingDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the form IdstartingDate - the starting dateendingDate - the ending dateplugin - the pluginCopyright © 2020 City of Paris. All rights reserved.