Interface IFormResponseStepDAO

  • All Known Implementing Classes:
    FormResponseStepDAO

    public interface IFormResponseStepDAO
    IFormResponseDAO 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 deleteByFormResponse​(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Remove all the formResponseStep linked to a given FormResponse
      void deleteByStep​(int nIdStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Removes all the formResponseStep linked to a given step
      void insert​(FormResponseStep formResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      FormResponseStep load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<FormResponseStep> selectFormResponseStepsByFormResponse​(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the order steps list by FormResponse id
      void store​(FormResponseStep formResponseStep, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • insert

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

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

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

        java.util.List<FormResponseStep> selectFormResponseStepsByFormResponse​(int nIdFormResponse,
                                                                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the order steps list by FormResponse id
        Parameters:
        nIdFormResponse - The identifier of the FormResponse
        plugin - the Plugin
        Returns:
        The list which contains the data of all the FormResponseStep objects
      • deleteByFormResponse

        void deleteByFormResponse​(int nIdFormResponse,
                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Remove all the formResponseStep linked to a given FormResponse
        Parameters:
        nIdFormResponse - The form Identifier
        plugin - the Plugin
      • deleteByStep

        void deleteByStep​(int nIdStep,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Removes all the formResponseStep linked to a given step
        Parameters:
        nIdStep - The step id
        plugin - the Plugin