public final class FormHome extends Object
Modifier and Type | Method and Description |
---|---|
static Form |
create(Form form)
Create an instance of the Form class
|
static void |
delete(int nKey)
Delete the Form whose identifier is specified in parameter
|
static List<Form> |
findActiveAndDisplayedOnPortletForms()
Returns all the active and displayd on portlet forms
|
static List<Form> |
findActiveForms()
Returns all the active forms
|
static List<Form> |
findAllForms()
Returns all the forms
|
static Form |
findByPrimaryKey(int nKey)
Returns an instance of the Form whose identifier is specified in parameter
|
static List<Form> |
findByTitle(String strTitle)
Returns an instance of the Form by its title
|
static List<WeekDefinition> |
getListWeekDefinition(int nIdForm)
Get all the week definitions of the form
|
static Form |
update(Form form)
Update of the Form which is specified in parameter
|
public static Form create(Form form)
form
- The instance of the Form which contains the informations to storepublic static Form update(Form form)
form
- The instance of the Form which contains the data to storepublic static void delete(int nKey)
nKey
- The Form Idpublic static Form findByPrimaryKey(int nKey)
nKey
- The Form primary keypublic static List<Form> findByTitle(String strTitle)
strTitle
- The Form titlepublic static List<Form> findActiveForms()
public static List<Form> findActiveAndDisplayedOnPortletForms()
public static List<Form> findAllForms()
public static List<WeekDefinition> getListWeekDefinition(int nIdForm)
nIdForm
- the FOrm IdCopyright © 2018 City of Paris. All rights reserved.