Constructor and Description |
---|
FileDAO() |
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
int |
insert(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
File |
load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the File from the table
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Generates a new primary key
|
void |
store(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the file in the table
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey
in interface IFileDAO
plugin
- the pluginpublic int insert(File file, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public File load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
public void delete(int nIdFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copyright © 2017 City of Paris. All rights reserved.