public final class ExportFormatDAO extends Object implements IExportFormatDAO
Constructor and Description |
---|
ExportFormatDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdExport,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
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
|
void |
insert(ExportFormat exportFormat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
ExportFormat |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the export format from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
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
|
void |
store(ExportFormat exportFormat,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the exportFormat in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginpublic void insert(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IExportFormatDAO
exportFormat
- instance of the ExportFormat object to insertplugin
- the pluginpublic ExportFormat load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IExportFormatDAO
nId
- The identifier of the export formatplugin
- the pluginpublic void delete(int nIdExport, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IExportFormatDAO
nIdExport
- The identifier of the ExportFormatplugin
- the pluginpublic void store(ExportFormat exportFormat, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IExportFormatDAO
exportFormat
- instance of the ExportFormat object to updateplugin
- the pluginpublic List<ExportFormat> selectListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectListExport
in interface IExportFormatDAO
plugin
- the pluginpublic fr.paris.lutece.util.ReferenceList getListExport(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getListExport
in interface IExportFormatDAO
plugin
- the pluginCopyright © 2017 City of Paris. All rights reserved.