|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.form.business.file.FileDAO
public final class FileDAO
This class provides Data Access methods for Field objects
Constructor Summary | |
---|---|
FileDAO()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileDAO()
Method Detail |
---|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey
in interface IFileDAO
plugin
- the plugin
public int insert(File file, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface IFileDAO
file
- instance of the File object to insertplugin
- the plugin
public File load(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface IFileDAO
nId
- The identifier of the fileplugin
- the plugin
public void delete(int nIdFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface IFileDAO
nIdFile
- The identifier of the fileplugin
- the pluginpublic void store(File file, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store
in interface IFileDAO
file
- instance of the File object to updateplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |