Class FormExportConfigDao

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void deleteByForm​(int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete all record from the table
      void insert​(FormExportConfig config, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      FormExportConfig load​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      java.util.List<FormExportConfig> loadByForm​(int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load all configs for a form
      void store​(FormExportConfig config, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • FormExportConfigDao

        public FormExportConfigDao()
    • Method Detail

      • insert

        public void insert​(FormExportConfig config,
                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IFormExportConfigDao
        Insert a new record in the table.
        Specified by:
        insert in interface IFormExportConfigDao
        Parameters:
        config - instance of FormExportConfig object to insert
        plugin - the Plugin
      • store

        public void store​(FormExportConfig config,
                          fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IFormExportConfigDao
        Update the record in the table
        Specified by:
        store in interface IFormExportConfigDao
        Parameters:
        config - the reference of the FormExportConfig
        plugin - the Plugin
      • load

        public FormExportConfig load​(int nKey,
                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IFormExportConfigDao
        Load the data from the table
        Specified by:
        load in interface IFormExportConfigDao
        Parameters:
        nKey - The identifier of the config
        plugin - the Plugin
        Returns:
        The instance of the form
      • deleteByForm

        public void deleteByForm​(int idForm,
                                 fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Description copied from interface: IFormExportConfigDao
        Delete all record from the table
        Specified by:
        deleteByForm in interface IFormExportConfigDao
        Parameters:
        idForm - The identifier of the form
        plugin - the Plugin