public interface IFileDAO
| 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 |
purge(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Purge file in the table
|
List<File> |
selectFilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get the files list
|
void |
store(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the file in the table
|
int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginint insert(File file, fr.paris.lutece.portal.service.plugin.Plugin plugin)
file - instance of the File object to insertplugin - the pluginFile load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nId - The identifier of the fileplugin - the pluginvoid delete(int nIdFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdFile - The identifier of the fileplugin - the pluginvoid store(File file, fr.paris.lutece.portal.service.plugin.Plugin plugin)
file - instance of the File object to updateplugin - the pluginvoid purge(File file, fr.paris.lutece.portal.service.plugin.Plugin plugin)
file - instance of the File object to purgeplugin - the pluginCopyright © 2020 City of Paris. All rights reserved.