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 Form |
findByPrimaryKey(int nKey)
Returns an instance of a form whose identifier is specified in parameter
|
static List<Form> |
getFormList()
Load the data of all the form objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getFormsReferenceList()
Load the data of all the form objects and returns them as a referenceList
|
static int |
getNumberOfResponseFormByUser(int nIdForm,
String strGuid)
count the number of response for form
|
static int |
getNumberOfResponseForms(int nIdFormm)
count the number of response for a form
|
static void |
remove(int nKey)
Remove the form whose identifier is specified in parameter
|
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 remove(int nKey)
nKey - The form Idpublic static Form findByPrimaryKey(int nKey)
nKey - The form primary keypublic static List<Form> getFormList()
public static fr.paris.lutece.util.ReferenceList getFormsReferenceList()
public static int getNumberOfResponseForms(int nIdFormm)
nIdFormm - public static int getNumberOfResponseFormByUser(int nIdForm,
String strGuid)
nIdForm - id of formstrGuid - the name of userCopyright © 2021 City of Paris. All rights reserved.