public final class FormQuestionResponseDAO extends Object implements IFormQuestionResponseDAO
| Constructor and Description |
|---|
FormQuestionResponseDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(FormQuestionResponse formQuestionResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
deleteByQuestion(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all the FormQuestionResponse records related to a given Question
|
void |
insert(FormQuestionResponse formQuestionResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
FormQuestionResponse |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
List<FormQuestionResponse> |
selectFormQuestionResponseList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the FormQuestionResponse objects and returns them as a list
|
List<FormQuestionResponse> |
selectFormQuestionResponseListByFormResponseForSaving(int nIdFormResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the FormQuestionResponse objects for saving and returns them as a list
|
List<FormQuestionResponse> |
selectFormQuestionResponseListByResponseForQuestion(int nIdFormResponse,
int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retrieve all the FormQuestionResponse associated to the given FormResponse for the specified Question.
|
List<FormQuestionResponse> |
selectFormQuestionResponseListByStepAndFormResponse(int nIdFormResponse,
int nIdStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the FormQuestionResponse objects and returns them as a list
|
void |
store(FormQuestionResponse formQuestionResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
public void insert(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IFormQuestionResponseDAOformQuestionResponse - instance of the formQuestionResponse object to insertplugin - the Pluginpublic FormQuestionResponse load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IFormQuestionResponseDAOnKey - The identifier of the FormQuestionResponseplugin - the Pluginpublic void delete(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IFormQuestionResponseDAOformQuestionResponse - The formQuestionResponse to deleteplugin - the Pluginpublic void store(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IFormQuestionResponseDAOformQuestionResponse - the reference of the FormQuestionResponseplugin - the Pluginpublic List<FormQuestionResponse> selectFormQuestionResponseList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormQuestionResponseList in interface IFormQuestionResponseDAOplugin - the Pluginpublic List<FormQuestionResponse> selectFormQuestionResponseListByStepAndFormResponse(int nIdFormResponse, int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormQuestionResponseListByStepAndFormResponse in interface IFormQuestionResponseDAOnIdFormResponse - The identifier of the FormResponsenIdStep - The identifier of the Stepplugin - the Pluginpublic List<FormQuestionResponse> selectFormQuestionResponseListByFormResponseForSaving(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormQuestionResponseListByFormResponseForSaving in interface IFormQuestionResponseDAOnIdFormResponse - The identifier of the FormResponseplugin - the Pluginpublic List<FormQuestionResponse> selectFormQuestionResponseListByResponseForQuestion(int nIdFormResponse, int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormQuestionResponseListByResponseForQuestion in interface IFormQuestionResponseDAOnIdFormResponse - The identifier of the FormResponsenIdQuestion - The identifier of the Questionplugin - The Plugin to use to execute the querypublic void deleteByQuestion(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormQuestionResponseDAOdeleteByQuestion in interface IFormQuestionResponseDAOnIdQuestion - The identifier of the Questionplugin - the PluginCopyright © 2018 City of Paris. All rights reserved.