public final class TemplateQuestionHome extends Object
Modifier and Type | Method and Description |
---|---|
static void |
create(fr.paris.lutece.plugins.forms.business.Question question)
Create an instance of the question class
|
static fr.paris.lutece.plugins.forms.business.Question |
findByPrimaryKey(int nKey)
Returns an instance of a question whose identifier is specified in parameter
|
static List<fr.paris.lutece.plugins.forms.business.Question> |
getQuestionsListByStep(int nIdTemplate)
Load the data of all the question objects and returns them as a list
|
static void |
remove(int nKey)
Remove the question whose identifier is specified in parameter.
|
static void |
update(fr.paris.lutece.plugins.forms.business.Question question)
Update of the question which is specified in parameter
|
public static void create(fr.paris.lutece.plugins.forms.business.Question question)
question
- The instance of the Question which contains the informations to storepublic static void update(fr.paris.lutece.plugins.forms.business.Question question)
question
- The instance of the Question which contains the data to storepublic static void remove(int nKey)
nKey
- The question Idpublic static fr.paris.lutece.plugins.forms.business.Question findByPrimaryKey(int nKey)
nKey
- The question primary keypublic static List<fr.paris.lutece.plugins.forms.business.Question> getQuestionsListByStep(int nIdTemplate)
nIdTemplate
- The step primary keyCopyright © 2022 City of Paris. All rights reserved.