|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.directory.business.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)
IFileDAO
newPrimaryKey in interface IFileDAOplugin - the plugin
public int insert(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFileDAO
insert in interface IFileDAOfile - instance of the File object to insertplugin - the plugin
public File load(int nId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFileDAO
load in interface IFileDAOnId - The identifier of the fileplugin - the plugin
public void delete(int nIdFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFileDAO
delete in interface IFileDAOnIdFile - The identifier of the fileplugin - the plugin
public void store(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IFileDAO
store in interface IFileDAOfile - 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 | |||||||||