public final class QuestionDAO extends Object implements IQuestionDAO
| Constructor and Description |
|---|
QuestionDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(Question question,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
Question |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Question |
loadByCode(String strCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Question> |
loadMultiple(List<Integer> keyList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIdQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the question objects and returns them as a list
|
List<Question> |
selectQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects and returns them as a list
|
List<Question> |
selectQuestionsListByFormId(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects by form id and returns them as a list
|
List<Question> |
selectQuestionsListByFormIdUncomplete(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects by form id and returns them as a list
|
List<Question> |
selectQuestionsListByStep(int nIdStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects by step and returns them as a list
|
List<Question> |
selectQuestionsListUncomplete(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectQuestionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects and returns them as a referenceList
|
fr.paris.lutece.util.ReferenceList |
selectQuestionsReferenceListByForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects for the given form and returns them as a referenceList
|
void |
store(Question question,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IQuestionDAOquestion - instance of the Question object to insertplugin - the Pluginpublic Question load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IQuestionDAOnKey - The identifier of the questionplugin - the Pluginpublic Question loadByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByCode in interface IQuestionDAOstrCode - The code of the questionplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IQuestionDAOnKey - The identifier of the Question to deleteplugin - the Pluginpublic void store(Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IQuestionDAOquestion - the reference of the Questionplugin - the Pluginpublic List<Question> selectQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuestionsList in interface IQuestionDAOplugin - the Pluginpublic List<Question> selectQuestionsListByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuestionsListByStep in interface IQuestionDAOnIdStep - the step idplugin - the Pluginpublic List<Integer> selectIdQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdQuestionsList in interface IQuestionDAOplugin - the Pluginpublic List<Question> selectQuestionsListUncomplete(fr.paris.lutece.portal.service.plugin.Plugin plugin)
IQuestionDAOselectQuestionsListUncomplete in interface IQuestionDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectQuestionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuestionsReferenceList in interface IQuestionDAOplugin - the Pluginpublic List<Question> selectQuestionsListByFormId(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IQuestionDAOselectQuestionsListByFormId in interface IQuestionDAOnIdForm - The id of the formplugin - The pluginpublic List<Question> selectQuestionsListByFormIdUncomplete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IQuestionDAOselectQuestionsListByFormIdUncomplete in interface IQuestionDAOnIdForm - The id of the formplugin - The pluginpublic fr.paris.lutece.util.ReferenceList selectQuestionsReferenceListByForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectQuestionsReferenceListByForm in interface IQuestionDAOnIdForm - the form idplugin - the Pluginpublic List<Question> loadMultiple(List<Integer> keyList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IQuestionDAOloadMultiple in interface IQuestionDAOkeyList - The identifiers of the questionsplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.