Class FormExportConfigDao
java.lang.Object
fr.paris.lutece.plugins.forms.business.export.FormExportConfigDao
- All Implemented Interfaces:
IFormExportConfigDao
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteByForm(int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete all record from the tablevoidinsert(FormExportConfig config, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tableloadByForm(int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load all configs for a formvoidstore(FormExportConfig config, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
FormExportConfigDao
public FormExportConfigDao()
-
-
Method Details
-
insert
Description copied from interface:IFormExportConfigDaoInsert a new record in the table.- Specified by:
insertin interfaceIFormExportConfigDao- Parameters:
config- instance of FormExportConfig object to insertplugin- the Plugin
-
store
Description copied from interface:IFormExportConfigDaoUpdate the record in the table- Specified by:
storein interfaceIFormExportConfigDao- Parameters:
config- the reference of the FormExportConfigplugin- the Plugin
-
load
Description copied from interface:IFormExportConfigDaoLoad the data from the table- Specified by:
loadin interfaceIFormExportConfigDao- Parameters:
nKey- The identifier of the configplugin- 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:IFormExportConfigDaoDelete all record from the table- Specified by:
deleteByFormin interfaceIFormExportConfigDao- Parameters:
idForm- The identifier of the formplugin- the Plugin
-
loadByForm
public List<FormExportConfig> loadByForm(int idForm, fr.paris.lutece.portal.service.plugin.Plugin plugin) Description copied from interface:IFormExportConfigDaoLoad all configs for a form- Specified by:
loadByFormin interfaceIFormExportConfigDao- Returns:
-