public interface IQuestionDAO
| 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
|
void insert(Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
question - instance of the Question object to insertplugin - the Pluginvoid store(Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
question - the reference of the Questionplugin - the Pluginvoid delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the Question to deleteplugin - the PluginQuestion load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The identifier of the questionplugin - the PluginQuestion loadByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strCode - The code of the questionplugin - the PluginList<Question> loadMultiple(List<Integer> keyList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
keyList - The identifiers of the questionsplugin - the PluginList<Question> selectQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Question> selectQuestionsListUncomplete(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginList<Question> selectQuestionsListByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the PluginnIdStep - the step idList<Question> selectQuestionsListByFormId(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The id of the formplugin - The pluginList<Question> selectQuestionsListByFormIdUncomplete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - The id of the formplugin - The pluginList<Integer> selectIdQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectQuestionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the Pluginfr.paris.lutece.util.ReferenceList selectQuestionsReferenceListByForm(int nIdForm,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdForm - the form idplugin - the PluginCopyright © 2022 City of Paris. All rights reserved.