Interface IFormDisplayDAO

All Known Implementing Classes:
FormDisplayDAO

public interface IFormDisplayDAO
IFormDisplayDAO 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(FormDisplay formDisplay, 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
    selectFormdisplayByFormStepAndComposite(int nIdForm, int nIdStep, int nIdComposite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Select the FormDisplay associated to the given parameter
    selectFormDisplayList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the FormDisplay objects and returns them as a list
    selectFormDisplayListByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the FormDisplay for a form and returns them as a list
    selectFormDisplayListByParent(int nIdStep, int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the FormDisplay objects by parent for a form step and returns them as a list
    selectFormDisplayListByParentOrderByQuestionExportDisplayOrder(int nIdStep, int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
     
    fr.paris.lutece.util.ReferenceList
    selectGroupDisplayReferenceListByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the FormDisplay objects of type "Group" linked to a given FormStep and returns them as a referenceList
    void
    store(FormDisplay formDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Update the record in the table
  • Method Details

    • insert

      void insert(FormDisplay formDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Parameters:
      formDisplay - instance of the FormDisplay object to insert
      plugin - the Plugin
    • store

      void store(FormDisplay formDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Parameters:
      formDisplay - the reference of the FormDisplay
      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 FormDisplay to delete
      plugin - the Plugin
    • load

      FormDisplay load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      nKey - The identifier of the FormDisplay
      plugin - the Plugin
      Returns:
      The instance of the FormDisplay
    • selectFormDisplayList

      List<FormDisplay> selectFormDisplayList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormDisplay objects and returns them as a list
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the FormDisplay objects
    • selectFormDisplayListByParent

      List<FormDisplay> selectFormDisplayListByParent(int nIdStep, int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormDisplay objects by parent for a form step and returns them as a list
      Parameters:
      nIdStep - the step id
      nIdParent - the parent id
      plugin - the plugin to use
      Returns:
      The list which contains the data of all the FormDisplay objects
    • selectGroupDisplayReferenceListByStep

      fr.paris.lutece.util.ReferenceList selectGroupDisplayReferenceListByStep(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormDisplay objects of type "Group" linked to a given FormStep and returns them as a referenceList
      Parameters:
      nIdStep - the step identifier
      plugin - the plugin to use
      Returns:
      the referenceList which contains the data of all the Display objects of group type
    • selectFormdisplayByFormStepAndComposite

      FormDisplay selectFormdisplayByFormStepAndComposite(int nIdForm, int nIdStep, int nIdComposite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select the FormDisplay associated to the given parameter
      Parameters:
      nIdForm - The identifier of the Form to match
      nIdStep - The identifier of the Step to match
      nIdComposite - The identifier of the Composite to match
      plugin - The plugin to use to execute the query
      Returns:
      the FormDisplay associated to the given parameter
    • selectFormDisplayListByForm

      List<FormDisplay> selectFormDisplayListByForm(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the FormDisplay for a form and returns them as a list
      Parameters:
      nIdForm - the form id
      plugin - the plugin to use
      Returns:
      The list which contains the data of all the FormDisplay objects
    • selectFormDisplayListByParentOrderByQuestionExportDisplayOrder

      List<FormDisplay> selectFormDisplayListByParentOrderByQuestionExportDisplayOrder(int nIdStep, int nIdParent, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Parameters:
      nIdStep -
      nIdParent - TODO
      plugin -
      Returns:
      The list which contains the data of all the FormDisplay objects ordered by export_display_order column from forms_question