public interface IReservationRuleDAO
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 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 |
findByIdFormAndClosestToDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the Reservation Rule with the given search parameters
|
ReservationRule |
findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns the Reservation Rule with the given search parameters
|
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
|
static final String BEAN_NAME
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 findByIdFormAndClosestToDateOfApply(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.