Class FormExportConfigDao
- java.lang.Object
-
- fr.paris.lutece.plugins.forms.business.export.FormExportConfigDao
-
- All Implemented Interfaces:
IFormExportConfigDao
public class FormExportConfigDao extends java.lang.Object implements IFormExportConfigDao
-
-
Constructor Summary
Constructors Constructor Description FormExportConfigDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeleteByForm(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.FormExportConfigload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablejava.util.List<FormExportConfig>loadByForm(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
-
-
-
Method Detail
-
insert
public void insert(FormExportConfig config, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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
public void store(FormExportConfig config, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IFormExportConfigDaoUpdate the record in the table- Specified by:
storein interfaceIFormExportConfigDao- Parameters:
config- the reference of the FormExportConfigplugin- the Plugin
-
load
public FormExportConfig load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
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 java.util.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:
-
-