Interface IFormDAO

  • All Known Implementing Classes:
    FormDAO

    public interface IFormDAO
    IFormDAO Interface
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nIdForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      fr.paris.lutece.util.ReferenceList getEnableFormList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all enable form returns them in a reference list
      int insert​(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Form load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of the Form from the table
      java.util.List<Form> selectFormList​(FormFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the form who verify the filter and returns them in a list
      void store​(Form form, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the form in the table
    • Method Detail

      • insert

        int insert​(Form form,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        form - instance of the Form to insert
        plugin - the plugin
        Returns:
        the id of the new form
      • store

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

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

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

        java.util.List<Form> selectFormList​(FormFilter filter,
                                            fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all the form who verify the filter and returns them in a list
        Parameters:
        filter - the filter
        plugin - the plugin
        Returns:
        the list of form
      • getEnableFormList

        fr.paris.lutece.util.ReferenceList getEnableFormList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data of all enable form returns them in a reference list
        Parameters:
        plugin - the plugin
        Returns:
        a reference list of form