|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.portal.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)
Delete a record from the table |
int |
insert(File file)
Insert a new record in the table. |
File |
load(int nId)
Load the data of the File from the table |
int |
newPrimaryKey()
Generates a new primary key |
void |
store(File file)
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()
newPrimaryKey in interface IFileDAOpublic int insert(File file)
insert in interface IFileDAOfile - instance of the File object to insert
public File load(int nId)
load in interface IFileDAOnId - The identifier of the file
public void delete(int nIdFile)
delete in interface IFileDAOnIdFile - The identifier of the filepublic void store(File file)
store in interface IFileDAOfile - instance of the File object to update
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||