public final class ClosingDayHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static ClosingDay |
create(ClosingDay closingDay)
Create an instance of the Form class
|
static void |
delete(int nKey)
Delete the ClosingDay whose identifier is specified in parameter
|
static List<ClosingDay> |
findByIdForm(int nIdForm)
Returns all the Closing Days of a form
|
static ClosingDay |
findByIdFormAndDateOfCLosingDay(int nIdForm,
LocalDate dateOfClosingDay)
Returns the closing day
|
static List<ClosingDay> |
findByIdFormAndDateRange(int nIdForm,
LocalDate startingDate,
LocalDate endingDate)
Returns a list of closing days of the form on a period
|
static ClosingDay |
findByPrimaryKey(int nKey)
Returns an instance of the ClosingDay whose identifier is specified in parameter
|
static ClosingDay |
update(ClosingDay closingDay)
Update of the ClosingDay which is specified in parameter
|
public static ClosingDay create(ClosingDay closingDay)
closingDay - The instance of the ClosingDay which contains the informations to storepublic static ClosingDay update(ClosingDay closingDay)
closingDay - The instance of the ClosingDay which contains the data to storepublic static void delete(int nKey)
nKey - The ClosingDay Idpublic static ClosingDay findByPrimaryKey(int nKey)
nKey - The ClosingDay primary keypublic static List<ClosingDay> findByIdForm(int nIdForm)
nIdForm - the form idpublic static List<ClosingDay> findByIdFormAndDateRange(int nIdForm, LocalDate startingDate, LocalDate endingDate)
nIdForm - the form IdstartingDate - the starting dateendingDate - the ending datepublic static ClosingDay findByIdFormAndDateOfCLosingDay(int nIdForm, LocalDate dateOfClosingDay)
nIdForm - the Form IddateOfClosingDay - the date of the closing dayCopyright © 2019 City of Paris. All rights reserved.