Interface IQuestionDAO

All Known Implementing Classes:
QuestionDAO

public interface IQuestionDAO
IQuestionDAO Interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Delete a record from the table
    void
    insert(Question question, 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 table
    loadByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    loadByCodeAndEntry(String strCode, int idEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    loadMultiple(List<Integer> keyList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    selectIdQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the id of all the question objects and returns them as a list
    selectQuestionsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the question objects and returns them as a list
    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
    selectQuestionsListByFormIdUncomplete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of the question objects related to multiview by form id and returns them as a list
    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
    selectQuestionsListUncomplete(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of the question objects related to multiview and returns them as a list
    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
    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
    void
    store(Question question, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • 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 insert
      plugin - 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 Question
      plugin - 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 delete
      plugin - 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 question
      plugin - the Plugin
      Returns:
      The instance of the question
    • loadByCode

      List<Question> loadByCode(String strCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      strCode - The code of the question
      plugin - the Plugin
      Returns:
      The instance of the question
    • loadByCodeAndEntry

      Question loadByCodeAndEntry(String strCode, int idEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      strCode - The code of the question
      plugin - the Plugin
      Returns:
      The instance of the question
    • loadMultiple

      List<Question> loadMultiple(List<Integer> keyList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      keyList - The identifiers of the questions
      plugin - the Plugin
      Returns:
      The list of questions
    • selectQuestionsList

      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

      List<Question> selectQuestionsListUncomplete(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the question objects related to multiview and returns them as a list
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the uncomplete data of the question objects related to multiview
    • selectQuestionsListByStep

      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 Plugin
      nIdStep - the step id
      Returns:
      The list which contains the data of all the question objects
    • selectQuestionsListByFormId

      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 form
      plugin - The plugin
      Returns:
      The list which contains the data of all the question objects by given form id
    • selectQuestionsListByFormIdUncomplete

      List<Question> selectQuestionsListByFormIdUncomplete(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the question objects related to multiview by form id and returns them as a list
      Parameters:
      nIdForm - The id of the form
      plugin - The plugin
      Returns:
      The list which contains the data of the question objects related to multiview by given form id
    • selectIdQuestionsList

      List<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 id
      plugin - the Plugin
      Returns:
      The referenceList which contains the data of all the question objects