Interface IFormQuestionResponseDAO
-
- All Known Implementing Classes:
FormQuestionResponseDAO
public interface IFormQuestionResponseDAOIFormQuestionResponseDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompleteListWithEntryResponses(java.util.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.FormQuestionResponseload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableFormQuestionResponseselectFormQuestionResponseByEntryResponse(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.java.util.List<FormQuestionResponse>selectFormQuestionResponseByQuestion(int nIdQuestion, fr.paris.lutece.portal.service.plugin.Plugin plugin)Retrieves the form question responses associated to the specified question.java.util.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.java.util.List<FormQuestionResponse>selectFormQuestionResponseList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the FormQuestionResponse objects and returns them as a listjava.util.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 listjava.util.List<FormQuestionResponse>selectFormQuestionResponseListByFormResponseIdList(java.util.List<java.lang.Integer> listIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the FormQuestionResponse objects and returns them as a listjava.util.List<FormQuestionResponse>selectFormQuestionResponseListByListFormResponseStep(java.util.List<FormResponseStep> listFormResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the FormQuestionResponse objects and returns them as a listjava.util.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 listvoidstore(FormQuestionResponse formQuestionResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
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
FormQuestionResponse load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the FormQuestionResponseplugin- the Plugin- Returns:
- The instance of the FormQuestionResponse
-
selectFormQuestionResponseList
java.util.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
java.util.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
java.util.List<FormQuestionResponse> selectFormQuestionResponseListByListFormResponseStep(java.util.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
java.util.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
java.util.List<FormQuestionResponse> selectFormQuestionResponseListByFormResponseIdList(java.util.List<java.lang.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
java.util.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
java.util.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(java.util.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
-
-