Interface IStepDAO

  • All Known Implementing Classes:
    StepDAO

    public interface IStepDAO
    IStepDAO 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​(Step step, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Step load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      List<Integer> selectIdStepsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the step objects and returns them as a list
      List<Integer> selectIdStepsListByForm​(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the step linked a given parent form and returns them as a list
      Step selectInitialStep​(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the initial step of the given form
      fr.paris.lutece.util.ReferenceList selectStepReferenceListbyForm​(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id and title of all the step linked a given parent form and returns them as a Referencelist
      List<Step> selectStepsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the step objects and returns them as a list
      List<Step> selectStepsListbyForm​(int nFormId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the step linked a given parent form and returns them as a list
      fr.paris.lutece.util.ReferenceList selectStepsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the step objects and returns them as a referenceList
      void store​(Step step, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

        Step selectInitialStep​(int nIdForm,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the initial step of the given form
        Parameters:
        nIdForm - The identifier of the step form
        plugin - the Plugin
        Returns:
        The initial step of the given form
      • selectStepsList

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

        List<Integer> selectIdStepsList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the step objects and returns them as a list
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the id of all the step objects
      • selectIdStepsListByForm

        List<Integer> selectIdStepsListByForm​(int nFormId,
                                              fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the step linked a given parent form and returns them as a list
        Parameters:
        nFormId - the parent form identifier
        plugin - the Plugin
        Returns:
        The List which contains the id of all the step objects
      • selectStepsReferenceList

        fr.paris.lutece.util.ReferenceList selectStepsReferenceList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the step objects and returns them as a referenceList
        Parameters:
        plugin - the Plugin
        Returns:
        The referenceList which contains the data of all the step objects
      • selectStepsListbyForm

        List<Step> selectStepsListbyForm​(int nFormId,
                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id of all the step linked a given parent form and returns them as a list
        Parameters:
        nFormId - the parent form identifier
        plugin - the Plugin
        Returns:
        The list which contains the id of all the step objects
      • selectStepReferenceListbyForm

        fr.paris.lutece.util.ReferenceList selectStepReferenceListbyForm​(int nFormId,
                                                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the id and title of all the step linked a given parent form and returns them as a Referencelist
        Parameters:
        nFormId - the parent form identifier
        plugin - the Plugin
        Returns:
        The Referencelist which contains the id and titles of all the step objects