Interface IFormQuestionResponseDAO
- All Known Implementing Classes:
FormQuestionResponseDAO
public interface IFormQuestionResponseDAO
IFormQuestionResponseDAO Interface
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteListWithEntryResponses(List<FormQuestionResponse> formQuestionResponsesList, fr.paris.lutece.portal.service.plugin.Plugin plugin) Populates the FormQuestionResponse of the list with their Response values.voiddelete(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tableintfindMaxIterationNumberByQuestion(int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find the maximum iteration number for a given questionvoidinsert(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableselectFormQuestionResponseByEntryResponse(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.selectFormQuestionResponseByQuestion(int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Retrieves the form question responses associated to the specified question.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.selectFormQuestionResponseList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormQuestionResponse objects and returns them as a listselectFormQuestionResponseListByFormResponse(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 listselectFormQuestionResponseListByFormResponseIdList(List<Integer> listIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormQuestionResponse objects and returns them as a listselectFormQuestionResponseListByListFormResponseStep(List<FormResponseStep> listFormResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the FormQuestionResponse objects and returns them as a listselectFormQuestionResponseListByStepAndFormResponse(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 listvoidstore(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Method Details
-
insert
void insert(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Parameters:
formQuestionResponse- instance of the formQuestionResponse object to insertplugin- the Plugin
-
store
void store(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Parameters:
formQuestionResponse- the reference of the FormQuestionResponseplugin- the Plugin
-
delete
void delete(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Parameters:
formQuestionResponse- The formQuestionResponse to deleteplugin- the Plugin
-
load
Load the data from the table- Parameters:
nKey- The identifier of the FormQuestionResponseplugin- the Plugin- Returns:
- The instance of the FormQuestionResponse
-
selectFormQuestionResponseList
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- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the FormQuestionResponse objects
-
selectFormQuestionResponseListByStepAndFormResponse
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- Parameters:
nIdFormResponse- The identifier of the FormResponsenIdStep- The identifier of the Stepplugin- the Plugin- Returns:
- The list which contains the data of all the FormQuestionResponse objects
-
selectFormQuestionResponseListByListFormResponseStep
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- Parameters:
nIdFormResponse- The identifier of the FormResponsenIdStep- The identifier of the Stepplugin- the Plugin- Returns:
- The list which contains the data of all the FormQuestionResponse objects
-
selectFormQuestionResponseListByFormResponse
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- Parameters:
nIdFormResponse- The identifier of the FormResponseplugin- the Plugin- Returns:
- The list which contains the data of all the FormQuestionResponse objects
-
selectFormQuestionResponseListByFormResponseIdList
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- Parameters:
listIdFormResponse- The identifier of the FormResponseplugin- the Plugin- Returns:
- The list which contains the data of all the FormQuestionResponse objects
-
selectFormQuestionResponseByQuestion
List<FormQuestionResponse> selectFormQuestionResponseByQuestion(int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Retrieves the form question responses associated to the specified question.- Parameters:
nIdQuestion- The identifier of the Questionplugin- The Plugin to use to execute the query- Returns:
- the list of form question responses
-
selectFormQuestionResponseByResponseForQuestion
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.- Parameters:
nIdFormResponse- The identifier of the FormResponsenIdQuestion- The identifier of the Questionplugin- The Plugin to use to execute the query- Returns:
- the found form question responses
-
selectFormQuestionResponseByEntryResponse
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.- Parameters:
response-plugin-- Returns:
-
completeListWithEntryResponses
void completeListWithEntryResponses(List<FormQuestionResponse> formQuestionResponsesList, fr.paris.lutece.portal.service.plugin.Plugin plugin) Populates the FormQuestionResponse of the list with their Response values.- Parameters:
formQuestionResponsesList-plugin-
-
findMaxIterationNumberByQuestion
int findMaxIterationNumberByQuestion(int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin) Find the maximum iteration number for a given question- Parameters:
nIdQuestion- The identifier of the Questionplugin- The Plugin to use to execute the query- Returns:
- the maximum iteration number
-