public interface IPhysicalFileDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdPhysicalFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
insert(PhysicalFile physicalFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
PhysicalFile |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the PhysicalFile from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
void |
store(PhysicalFile physicalFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the physical file in the table
|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the pluginint insert(PhysicalFile physicalFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
physicalFile
- instance of the PhysicalFile object to insertplugin
- the pluginPhysicalFile load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId
- The identifier of the fileplugin
- the pluginvoid delete(int nIdPhysicalFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPhysicalFile
- The identifier of the PhyscalFileplugin
- the pluginvoid store(PhysicalFile physicalFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
physicalFile
- instance of the physicalFile object to updateplugin
- the pluginCopyright © 2017 City of Paris. All rights reserved.