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 List<WeekDefinition> |
findByIdForm(int nIdForm)
Get all the week definitions of the form given
|
static WeekDefinition |
findByIdFormAndClosestToDateOfApply(int nIdForm,
LocalDate dateOfApply)
Get week definition for the form id and closest to the date of apply given
|
static WeekDefinition |
findByIdFormAndDateOfApply(int nIdForm,
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 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 WeekDefinition findByPrimaryKey(int nKey)
nKey
- The WeekDefinition primary keypublic static List<WeekDefinition> findByIdForm(int nIdForm)
nIdForm
- the Form Idpublic static WeekDefinition findByIdFormAndDateOfApply(int nIdForm, LocalDate dateOfApply)
nIdForm
- the Form IddateOfApply
- the date of applypublic static WeekDefinition findByIdFormAndClosestToDateOfApply(int nIdForm, LocalDate dateOfApply)
nIdForm
- the Form IddateOfApply
- the date of applyCopyright © 2018 City of Paris. All rights reserved.