Class ExportFormatDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.form.business.ExportFormatDAO
-
- All Implemented Interfaces:
IExportFormatDAO
public final class ExportFormatDAO extends java.lang.Object implements IExportFormatDAO
This class provides Data Access methods for ReportingFiche objects
-
-
Constructor Summary
Constructors Constructor Description ExportFormatDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nIdExport, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablefr.paris.lutece.util.ReferenceListgetListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the export format returns them in a reference listvoidinsert(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.ExportFormatload(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of the export format from the tableintnewPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)Generates a new primary keyjava.util.List<ExportFormat>selectListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data of all the ExportFormat and returns them in form of a listvoidstore(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the exportFormat in the table
-
-
-
Method Detail
-
newPrimaryKey
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key- Parameters:
plugin- the plugin- Returns:
- The new primary key
-
insert
public void insert(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.- Specified by:
insertin interfaceIExportFormatDAO- Parameters:
exportFormat- instance of the ExportFormat object to insertplugin- the plugin
-
load
public ExportFormat load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the export format from the table- Specified by:
loadin interfaceIExportFormatDAO- Parameters:
nId- The identifier of the export formatplugin- the plugin- Returns:
- the instance of the ExportFormat
-
delete
public void delete(int nIdExport, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Specified by:
deletein interfaceIExportFormatDAO- Parameters:
nIdExport- The identifier of the ExportFormatplugin- the plugin
-
store
public void store(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the exportFormat in the table- Specified by:
storein interfaceIExportFormatDAO- Parameters:
exportFormat- instance of the ExportFormat object to updateplugin- the plugin
-
selectListExport
public java.util.List<ExportFormat> selectListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the ExportFormat and returns them in form of a list- Specified by:
selectListExportin interfaceIExportFormatDAO- Parameters:
plugin- the plugin- Returns:
- The List which contains the data of all the ExportFormat
-
getListExport
public fr.paris.lutece.util.ReferenceList getListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the export format returns them in a reference list- Specified by:
getListExportin interfaceIExportFormatDAO- Parameters:
plugin- the plugin- Returns:
- a reference list of export format
-
-