public interface IFileDAO
Modifier and Type | Method and Description |
---|---|
void |
delete(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
void |
insert(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
File |
load(int nIdFile,
int nIdDirectory,
fr.paris.lutece.portal.service.plugin.Plugin plugin) |
File |
load(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
Collection<File> |
selectFilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all the file objects and returns them as a collection
|
Collection<Integer> |
selectIdFilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the id of all the file objects and returns them as a collection
|
void |
store(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
void insert(File file, fr.paris.lutece.portal.service.plugin.Plugin plugin)
file
- instance of the File object to insertplugin
- the Pluginvoid store(File file, fr.paris.lutece.portal.service.plugin.Plugin plugin)
file
- the reference of the Fileplugin
- the Pluginvoid delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the File to deleteplugin
- the PluginFile load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The identifier of the fileplugin
- the PluginCollection<File> selectFilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginCollection<Integer> selectIdFilesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- the PluginFile load(int nIdFile, int nIdDirectory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Copyright © 2016 City of Paris. All rights reserved.