public interface IReservationRuleDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdReservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<ReservationRule> |
findByIdForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns all the Reservation Rule of the form given
|
ReservationRule |
findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the Reservation Rule with the given search parameters
|
ReservationRule |
findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find in database a reservation rule of a form closest to a date
|
void |
insert(ReservationRule reservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table
|
ReservationRule |
select(int nIdReservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(ReservationRule appointment,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(ReservationRule reservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
reservationRule - instance of the ReservationRule object to insertplugin - the pluginvoid update(ReservationRule appointment, fr.paris.lutece.portal.service.plugin.Plugin plugin)
reservationRule - the reference of the ReservationRuleplugin - the pluginvoid delete(int nIdReservationRule,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdReservationRule - int identifier of the ReservationRule to deleteplugin - the pluginReservationRule select(int nIdReservationRule, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdReservationRule - the identifier of the ReservationRuleplugin - the pluginList<ReservationRule> findByIdForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the Form Idplugin - the pluginReservationRule findByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the Form IddateOfApply - the date of applyplugin - the pluginReservationRule findReservationRuleByIdFormAndClosestToDateOfApply(int nIdForm, LocalDate dateOfApply, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the Form IddateOfApply - the date of applyplugin - the pluginCopyright © 2021 City of Paris. All rights reserved.