public final class FormQuestionResponseDAO extends Object implements IFormQuestionResponseDAO
| Constructor and Description |
|---|
FormQuestionResponseDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
completeListWithEntryResponses(List<FormQuestionResponse> formQuestionResponsesList,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Populates the FormQuestionResponse of the list with their Response values.
|
void |
delete(FormQuestionResponse formQuestionResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
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
|
FormQuestionResponse |
selectFormQuestionResponseByEntryResponse(fr.paris.lutece.plugins.genericattributes.business.Response response,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retrieves the form question responses associated to the given Entry Response.
|
List<FormQuestionResponse> |
selectFormQuestionResponseByQuestion(int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retrieves the form question responses associated to the specified question.
|
List<FormQuestionResponse> |
selectFormQuestionResponseByResponseForQuestion(int nIdFormResponse,
int nIdQuestion,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Retrieves the form question responses associated to the given form response for the specified question.
|
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> |
selectFormQuestionResponseListByFormResponse(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> |
selectFormQuestionResponseListByFormResponseIdList(List<Integer> listIdFormResponse,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the FormQuestionResponse objects and returns them as a list
|
List<FormQuestionResponse> |
selectFormQuestionResponseListByListFormResponseStep(List<FormResponseStep> listFormResponseStep,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the FormQuestionResponse objects and returns them as a list
|
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 List<FormQuestionResponse> selectFormQuestionResponseByQuestion(int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormQuestionResponseByQuestion in interface IFormQuestionResponseDAOnIdQuestion - The identifier of the Questionplugin - The Plugin to use to execute the querypublic FormQuestionResponse selectFormQuestionResponseByEntryResponse(fr.paris.lutece.plugins.genericattributes.business.Response response, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormQuestionResponseDAOselectFormQuestionResponseByEntryResponse in interface IFormQuestionResponseDAOpublic 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> selectFormQuestionResponseListByListFormResponseStep(List<FormResponseStep> listFormResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormQuestionResponseDAOselectFormQuestionResponseListByListFormResponseStep in interface IFormQuestionResponseDAOplugin - the Pluginpublic List<FormQuestionResponse> selectFormQuestionResponseListByFormResponse(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormQuestionResponseListByFormResponse in interface IFormQuestionResponseDAOnIdFormResponse - The identifier of the FormResponseplugin - the Pluginpublic List<FormQuestionResponse> selectFormQuestionResponseByResponseForQuestion(int nIdFormResponse, int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormQuestionResponseByResponseForQuestion in interface IFormQuestionResponseDAOnIdFormResponse - The identifier of the FormResponsenIdQuestion - The identifier of the Questionplugin - The Plugin to use to execute the querypublic List<FormQuestionResponse> selectFormQuestionResponseListByFormResponseIdList(List<Integer> listIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectFormQuestionResponseListByFormResponseIdList in interface IFormQuestionResponseDAOlistIdFormResponse - The identifier of the FormResponseplugin - the Pluginpublic void completeListWithEntryResponses(List<FormQuestionResponse> formQuestionResponsesList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFormQuestionResponseDAOcompleteListWithEntryResponses in interface IFormQuestionResponseDAOCopyright © 2022 City of Paris. All rights reserved.