Interface IQuestionDAO
-
- All Known Implementing Classes:
QuestionDAO
public interface IQuestionDAOIQuestionDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Questionload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<Question>loadByCode(java.lang.String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableQuestionloadByCodeAndEntry(java.lang.String strCode, int idEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<Question>loadMultiple(java.util.List<java.lang.Integer> keyList, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<java.lang.Integer>selectIdQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the id of all the question objects and returns them as a listjava.util.List<Question>selectQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the question objects and returns them as a listjava.util.List<Question>selectQuestionsListByFormId(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the question objects by form id and returns them as a listjava.util.List<Question>selectQuestionsListByFormIdUncomplete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the question objects by form id and returns them as a listjava.util.List<Question>selectQuestionsListByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the question objects by step and returns them as a listjava.util.List<Question>selectQuestionsListUncomplete(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the question objects and returns them as a listfr.paris.lutece.util.ReferenceListselectQuestionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the question objects and returns them as a referenceListfr.paris.lutece.util.ReferenceListselectQuestionsReferenceListByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the question objects for the given form and returns them as a referenceListvoidstore(Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
void insert(Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Parameters:
question- instance of the Question object to insertplugin- the Plugin
-
store
void store(Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table- Parameters:
question- the reference of the Questionplugin- the Plugin
-
delete
void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nKey- The identifier of the Question to deleteplugin- the Plugin
-
load
Question load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nKey- The identifier of the questionplugin- the Plugin- Returns:
- The instance of the question
-
loadByCode
java.util.List<Question> loadByCode(java.lang.String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
strCode- The code of the questionplugin- the Plugin- Returns:
- The instance of the question
-
loadByCodeAndEntry
Question loadByCodeAndEntry(java.lang.String strCode, int idEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
strCode- The code of the questionplugin- the Plugin- Returns:
- The instance of the question
-
loadMultiple
java.util.List<Question> loadMultiple(java.util.List<java.lang.Integer> keyList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
keyList- The identifiers of the questionsplugin- the Plugin- Returns:
- The list of questions
-
selectQuestionsList
java.util.List<Question> selectQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the question objects
-
selectQuestionsListUncomplete
java.util.List<Question> selectQuestionsListUncomplete(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the uncomplete data of all the question objects
-
selectQuestionsListByStep
java.util.List<Question> selectQuestionsListByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects by step and returns them as a list- Parameters:
plugin- the PluginnIdStep- the step id- Returns:
- The list which contains the data of all the question objects
-
selectQuestionsListByFormId
java.util.List<Question> selectQuestionsListByFormId(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects by form id and returns them as a list- Parameters:
nIdForm- The id of the formplugin- The plugin- Returns:
- The list which contains the data of all the question objects by given form id
-
selectQuestionsListByFormIdUncomplete
java.util.List<Question> selectQuestionsListByFormIdUncomplete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects by form id and returns them as a list- Parameters:
nIdForm- The id of the formplugin- The plugin- Returns:
- The list which contains the data of all the question objects by given form id
-
selectIdQuestionsList
java.util.List<java.lang.Integer> selectIdQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the question objects and returns them as a list- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the question objects
-
selectQuestionsReferenceList
fr.paris.lutece.util.ReferenceList selectQuestionsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the question objects and returns them as a referenceList- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the question objects
-
selectQuestionsReferenceListByForm
fr.paris.lutece.util.ReferenceList selectQuestionsReferenceListByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the question objects for the given form and returns them as a referenceList- Parameters:
nIdForm- the form idplugin- the Plugin- Returns:
- The referenceList which contains the data of all the question objects
-
-