Interface IFormSubmitDAO

  • All Known Implementing Classes:
    FormSubmitDAO

    public interface IFormSubmitDAO
    Interface IFormSubmitDAO
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      int insert​(FormSubmit formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      FormSubmit load​(int nIdFormResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the formResponse from the table
      int selectCountByFilter​(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the formResponse who verify the filter and returns them in a list
      java.util.List<FormSubmit> selectListByFilter​(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the formResponse who verify the filter and returns them in a list
      java.util.List<StatisticFormSubmit> selectStatisticFormSubmit​(ResponseFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the number of formSubmit who verify the filter and returns them in a list of statistic
      void store​(FormSubmit formResponse, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the the formResponse in the table
    • Method Detail

      • insert

        int insert​(FormSubmit formResponse,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        formResponse - instance of the formResponse object to insert
        plugin - the plugin
        Returns:
        the key of the new formResponse
      • load

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

        void delete​(int nIdFormResponse,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdFormResponse - The identifier of the formResponse
        plugin - the plugin
      • store

        void store​(FormSubmit formResponse,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the the formResponse in the table
        Parameters:
        formResponse - instance of the formResponse object to update
        plugin - the plugin
      • selectListByFilter

        java.util.List<FormSubmit> selectListByFilter​(ResponseFilter filter,
                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the formResponse who verify the filter and returns them in a list
        Parameters:
        filter - the filter
        plugin - the plugin
        Returns:
        the list of formResponse
      • selectCountByFilter

        int selectCountByFilter​(ResponseFilter filter,
                                fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the formResponse who verify the filter and returns them in a list
        Parameters:
        filter - the filter
        plugin - the plugin
        Returns:
        the list of formResponse
      • selectStatisticFormSubmit

        java.util.List<StatisticFormSubmit> selectStatisticFormSubmit​(ResponseFilter filter,
                                                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the number of formSubmit who verify the filter and returns them in a list of statistic
        Parameters:
        filter - the filter
        plugin - the plugin
        Returns:
        the list of statistic