public final class QuestionHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static Question |
create(Question question)
Create an instance of the question class
|
static Question |
findByCode(String strCode)
Returns an instance of a question whose identifier is specified in parameter
|
static Question |
findByPrimaryKey(int nKey)
Returns an instance of a question whose identifier is specified in parameter
|
static List<Question> |
findByPrimaryKeyList(List<Integer> keyList)
Returns an instance of a question whose identifier is specified in parameter
|
static List<Integer> |
getIdQuestionsList()
Load the id of all the question objects and returns them as a list
|
static List<Question> |
getListQuestionByIdForm(int nIdForm)
Load the data of all the question objects for given form id and returns them as a list
|
static List<Question> |
getListQuestionByIdFormUncomplete(int nIdForm)
Load the data of all the question objects for given form id and returns them as a list
|
static List<Question> |
getQuestionsList()
Load the data of all the question objects and returns them as a list
|
static List<Question> |
getQuestionsListByStep(int nIdStep)
Load the data of all the question objects and returns them as a list
|
static List<Question> |
getQuestionsListUncomplete()
Load the data of all the question objects and returns them as a list
|
static fr.paris.lutece.util.ReferenceList |
getQuestionsReferenceList()
Load the data of all the question objects and returns them as a referenceList
|
static fr.paris.lutece.util.ReferenceList |
getQuestionsReferenceListByForm(int nIdForm)
Load the data of all the question objects for the given form and returns them as a referenceList
|
static void |
remove(int nKey)
Remove the question whose identifier is specified in parameter.
|
static Question |
update(Question question)
Update of the question which is specified in parameter
|
public static Question create(Question question)
question - The instance of the Question which contains the informations to storepublic static Question update(Question question)
question - The instance of the Question which contains the data to storepublic static void remove(int nKey)
nKey - The question Idpublic static Question findByPrimaryKey(int nKey)
nKey - The question primary keypublic static Question findByCode(String strCode)
strCode - The question codepublic static List<Question> findByPrimaryKeyList(List<Integer> keyList)
keyList - The questions primary keyspublic static List<Question> getQuestionsList()
public static List<Question> getQuestionsListUncomplete()
public static List<Question> getQuestionsListByStep(int nIdStep)
nIdStep - The step primary keypublic static List<Question> getListQuestionByIdForm(int nIdForm)
nIdForm - The id of the formpublic static List<Question> getListQuestionByIdFormUncomplete(int nIdForm)
nIdForm - The id of the formpublic static List<Integer> getIdQuestionsList()
public static fr.paris.lutece.util.ReferenceList getQuestionsReferenceList()
public static fr.paris.lutece.util.ReferenceList getQuestionsReferenceListByForm(int nIdForm)
nIdForm - The form primary keyCopyright © 2022 City of Paris. All rights reserved.