public final class FormResponseHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static FormResponse |
create(FormResponse formResponse)
Create an instance of the formResponse class
|
static FormResponse |
findByPrimaryKey(int nKey)
Returns an instance of a formResponse whose identifier is specified in parameter
|
static FormResponse |
findByPrimaryKeyForIndex(int nKey)
Returns an instance of a formResponse whose identifier is specified in parameter
|
static FormResponse |
findUncompleteByPrimaryKey(int nKey)
Returns an instance of a uncomplete (without steps) formResponse whose identifier is specified in parameter
|
static List<FormResponse> |
getFormResponseByGuidAndForm(String strGuid,
int nIdForm,
boolean fromBackup)
Load the data of all the formResponse objects and returns them as a list
|
static List<FormResponse> |
getFormResponseUncompleteByPrimaryKeyList(List<Integer> listIdFormResponse)
Load the data of all formResponses Objects for a given list of formResponses identifiers
|
static FormResponse |
loadById(int nKey)
Returns an instance of a formResponse whose identifier is specified in parameter
Doesn't load the list of FormResponseStep |
static void |
remove(int nKey)
Remove the formResponse whose identifier is specified in parameter
|
static void |
removeByForm(int nIdForm)
Remove all the formResponse linked to a given Form
|
static List<FormResponse> |
selectAllFormResponses()
Returns all the formResponse objects, completed with the steps
|
static List<Integer> |
selectAllFormResponsesId()
Returns all the formResponse ids
|
static List<FormResponse> |
selectAllFormResponsesUncompleteByIdForm(int nIdForm)
Returns all the formResponse objects, completed with the steps
|
static FormResponse |
update(FormResponse formResponse)
Update of the formResponse which is specified in parameter
|
public static FormResponse create(FormResponse formResponse)
formResponse - The instance of the FormResponse which contains the informations to storepublic static FormResponse update(FormResponse formResponse)
formResponse - The instance of the FormResponse which contains the data to storepublic static void remove(int nKey)
nKey - The formResponse Idpublic static FormResponse findByPrimaryKey(int nKey)
nKey - The formResponse primary keypublic static FormResponse loadById(int nKey)
FormResponseStepnKey - The formResponse primary keypublic static FormResponse findByPrimaryKeyForIndex(int nKey)
nKey - The formResponse primary keypublic static FormResponse findUncompleteByPrimaryKey(int nKey)
nKey - The formResponse primary keypublic static List<FormResponse> selectAllFormResponses()
public static List<Integer> selectAllFormResponsesId()
public static List<FormResponse> selectAllFormResponsesUncompleteByIdForm(int nIdForm)
nIdForm - the id formpublic static List<FormResponse> getFormResponseByGuidAndForm(String strGuid, int nIdForm, boolean fromBackup)
strGuid - The user GuidnIdForm - The form primary keyfromBackup - public static List<FormResponse> getFormResponseUncompleteByPrimaryKeyList(List<Integer> listIdFormResponse)
listIdFormResponse - The list of formResponses identifierspublic static void removeByForm(int nIdForm)
nIdForm - The form IdentifierCopyright © 2021 City of Paris. All rights reserved.