public final class ClosingDayDAO extends UtilDAO implements IClosingDayDAO
BEAN_NAME| Constructor and Description |
|---|
ClosingDayDAO() |
| 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
|
getNewPrimaryKeypublic void insert(ClosingDay closingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IClosingDayDAOinsert in interface IClosingDayDAOclosingDay - instance of the Closing Day object to insertplugin - the Pluginpublic void update(ClosingDay closingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IClosingDayDAOupdate in interface IClosingDayDAOclosingDay - the reference of the Closing Dayplugin - the Pluginpublic void delete(int nIdClosingDay,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IClosingDayDAOdelete in interface IClosingDayDAOnIdClosingDay - int identifier of the Closing Day to deleteplugin - the Pluginpublic ClosingDay select(int nIdClosingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IClosingDayDAOselect in interface IClosingDayDAOnIdClosingDay - The identifier of the Closing Dayplugin - the Pluginpublic ClosingDay findByIdFormAndDateOfClosingDay(int nIdForm, LocalDate dateOfCLosingDay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IClosingDayDAOfindByIdFormAndDateOfClosingDay in interface IClosingDayDAOnIdForm - the Form IddateOfCLosingDay - the date of the closing dayplugin - the pluginpublic List<ClosingDay> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IClosingDayDAOfindByIdForm in interface IClosingDayDAOnIdForm - the form Idplugin - the pluginpublic List<ClosingDay> findByIdFormAndDateRange(int nIdForm, LocalDate startingDate, LocalDate endingDate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IClosingDayDAOfindByIdFormAndDateRange in interface IClosingDayDAOnIdForm - the form IdstartingDate - the starting dateendingDate - the ending dateplugin - the pluginCopyright © 2019 City of Paris. All rights reserved.