public final class PollFormQuestionDAO extends Object implements IPollFormQuestionDAO
| Constructor and Description |
|---|
PollFormQuestionDAO() |
| 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(PollFormQuestion pollFormQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
PollFormQuestion |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
PollFormQuestion |
loadByQuestionId(int nIdPollForm,
int nQuestionId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<Integer> |
selectIdPollFormQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the pollFormQuestion objects and returns them as a list
|
List<PollFormQuestion> |
selectPollFormQuestionListByFormId(int nIdPollForm,
int nFormId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the PollFormQuestion objects by form id and returns them as a list
|
List<PollFormQuestion> |
selectPollFormQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pollFormQuestion objects and returns them as a list
|
fr.paris.lutece.util.ReferenceList |
selectPollFormQuestionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the pollFormQuestion objects and returns them as a referenceList
|
void |
store(PollFormQuestion pollFormQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(PollFormQuestion pollFormQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IPollFormQuestionDAOpollFormQuestion - instance of the PollFormQuestion object to insertplugin - the Pluginpublic PollFormQuestion load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IPollFormQuestionDAOnKey - The identifier of the pollFormQuestionplugin - the Pluginpublic void delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IPollFormQuestionDAOnKey - The identifier of the PollFormQuestion to deleteplugin - the Pluginpublic void store(PollFormQuestion pollFormQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IPollFormQuestionDAOpollFormQuestion - the reference of the PollFormQuestionplugin - the Pluginpublic List<PollFormQuestion> selectPollFormQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPollFormQuestionsList in interface IPollFormQuestionDAOplugin - the Pluginpublic List<Integer> selectIdPollFormQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectIdPollFormQuestionsList in interface IPollFormQuestionDAOplugin - the Pluginpublic fr.paris.lutece.util.ReferenceList selectPollFormQuestionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPollFormQuestionsReferenceList in interface IPollFormQuestionDAOplugin - the Pluginpublic List<PollFormQuestion> selectPollFormQuestionListByFormId(int nIdPollForm, int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectPollFormQuestionListByFormId in interface IPollFormQuestionDAOplugin - the Pluginpublic PollFormQuestion loadByQuestionId(int nIdPollForm, int nQuestionId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
loadByQuestionId in interface IPollFormQuestionDAOnQuestionId - The identifier of the questionplugin - the PluginCopyright © 2021 City of Paris. All rights reserved.