public final class PhysicalFileDAO extends Object implements IPhysicalFileDAO
| Constructor and Description |
|---|
PhysicalFileDAO() |
| 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
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface IPhysicalFileDAOplugin - the pluginpublic int insert(PhysicalFile physicalFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IPhysicalFileDAOphysicalFile - instance of the PhysicalFile object to insertplugin - the pluginpublic PhysicalFile load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IPhysicalFileDAOnId - The identifier of the fileplugin - the pluginpublic void delete(int nIdPhysicalFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IPhysicalFileDAOnIdPhysicalFile - The identifier of the PhyscalFileplugin - the pluginpublic void store(PhysicalFile physicalFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IPhysicalFileDAOphysicalFile - instance of the physicalFile object to updateplugin - the pluginCopyright © 2015 City of Paris. All rights reserved.