Interface ITemplateFormDisplayDAO

  • All Known Implementing Classes:
    TemplateDisplayDAO

    public interface ITemplateFormDisplayDAO
    IFormDisplayDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      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​(fr.paris.lutece.plugins.forms.business.FormDisplay formDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      fr.paris.lutece.plugins.forms.business.FormDisplay load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      fr.paris.lutece.plugins.forms.business.FormDisplay selectFormDisplayByStepAndComposite​(int nIdStep, int nIdComposite, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select the FormDisplay associated to the given parameter
      List<fr.paris.lutece.plugins.forms.business.FormDisplay> selectFormDisplayListByParent​(int nIdTemplate, 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
      List<fr.paris.lutece.plugins.forms.business.FormDisplay> selectFormDisplayListByTemplate​(int nIdTemplate, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Return the FormDisplay associated to the given parameters
      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​(fr.paris.lutece.plugins.forms.business.FormDisplay formDisplay, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

        void insert​(fr.paris.lutece.plugins.forms.business.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​(fr.paris.lutece.plugins.forms.business.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

        fr.paris.lutece.plugins.forms.business.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
      • selectFormDisplayListByParent

        List<fr.paris.lutece.plugins.forms.business.FormDisplay> selectFormDisplayListByParent​(int nIdTemplate,
                                                                                               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:
        nIdTemplate - the template 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
      • selectFormDisplayByStepAndComposite

        fr.paris.lutece.plugins.forms.business.FormDisplay selectFormDisplayByStepAndComposite​(int nIdStep,
                                                                                               int nIdComposite,
                                                                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Select the FormDisplay associated to the given parameter
        Parameters:
        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
      • selectFormDisplayListByTemplate

        List<fr.paris.lutece.plugins.forms.business.FormDisplay> selectFormDisplayListByTemplate​(int nIdTemplate,
                                                                                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Return the FormDisplay associated to the given parameters
        Parameters:
        nIdTemplate - The identifier of the template to match
        Returns:
        the formDisplay associated to the given parameters