public final class ReservationRuleHome extends Object
Modifier and Type | Method and Description |
---|---|
static ReservationRule |
create(ReservationRule reservationRule)
Create an instance of the ReservationRule class
|
static void |
delete(int nKey)
Delete the ReservationRule whose identifier is specified in parameter
|
static List<ReservationRule> |
findByIdForm(int nIdForm)
Returns all the Reservation Rule of a form
|
static ReservationRule |
findByIdFormAndClosestToDateOfApply(int nIdForm,
LocalDate dateOfApply)
Returns the Reservation Rule with the given search parameters
|
static ReservationRule |
findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply)
Returns the Reservation Rule with the given search parameters
|
static ReservationRule |
findByPrimaryKey(int nKey)
Returns an instance of the ReservationRule whose identifier is specified in parameter
|
static ReservationRule |
update(ReservationRule reservationRule)
Update of the ReservationRule which is specified in parameter
|
public static ReservationRule create(ReservationRule reservationRule)
reservationRule
- The instance of the ReservationRule which contains the informations to storepublic static ReservationRule update(ReservationRule reservationRule)
reservationRule
- The instance of the ReservationRule which contains the data to storepublic static void delete(int nKey)
nKey
- The ReservationRule Idpublic static ReservationRule findByPrimaryKey(int nKey)
nKey
- The ReservationRule primary keypublic static List<ReservationRule> findByIdForm(int nIdForm)
nIdForm
- the Form Idpublic static ReservationRule findByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply)
nIdForm
- the Form IddateOfApply
- the date of applypublic static ReservationRule findByIdFormAndClosestToDateOfApply(int nIdForm, LocalDate dateOfApply)
nIdForm
- the Form IddateOfApply
- the date of applyCopyright © 2018 City of Paris. All rights reserved.