public final class WeekDefinitionHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static WeekDefinition |
create(WeekDefinition weekDefinition)
Create an instance of the WeekDefinition class
|
static void |
delete(int nKey)
Delete the WeekDefinition whose identifier is specified in parameter
|
static void |
deleteByIdReservationRule(int nIdReservationRule)
Delete the WeekDefinition whose identifier is specified in parameter
|
static List<WeekDefinition> |
findByIdForm(int nIdForm)
Get all the week definitions of the form given
|
static WeekDefinition |
findByIdFormAndDateOfApply(int nIdForm,
LocalDate dateOfApply)
Get week definition for the form id and the date of apply given
|
static WeekDefinition |
findByIdReservationRuleAndDateOfApply(int nIdReservationRule,
LocalDate dateOfApply)
Get week definition for the form id and the date of apply given
|
static WeekDefinition |
findByPrimaryKey(int nKey)
Returns an instance of the WeekDefinition whose identifier is specified in parameter
|
static List<WeekDefinition> |
findByReservationRule(int nIdReservationRule)
Get the week definitions of a form for reservation rule
|
static WeekDefinition |
update(WeekDefinition weekDefinition)
Update of the WeekDefinition which is specified in parameter
|
public static WeekDefinition create(WeekDefinition weekDefinition)
weekDefinition - The instance of the WeekDefinition which contains the informations to storepublic static WeekDefinition update(WeekDefinition weekDefinition)
weekDefinition - The instance of the WeekDefinition which contains the data to storepublic static void delete(int nKey)
nKey - The WeekDefinition Idpublic static void deleteByIdReservationRule(int nIdReservationRule)
nIdReservationRule - The reservation rule Idpublic static WeekDefinition findByPrimaryKey(int nKey)
nKey - The WeekDefinition primary keypublic static List<WeekDefinition> findByIdForm(int nIdForm)
nIdForm - the Form Idpublic static List<WeekDefinition> findByReservationRule(int nIdReservationRule)
nIdReservationRule - plugin - the pluginpublic static WeekDefinition findByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply)
nIdForm - the Form IddateOfApply - the date of applypublic static WeekDefinition findByIdReservationRuleAndDateOfApply(int nIdReservationRule, LocalDate dateOfApply)
nIdReservationRule - the ReservationRule iddateOfApply - the date of applyCopyright © 2023 City of Paris. All rights reserved.