|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.portal.business.physicalfile.PhysicalFileDAO
public final class PhysicalFileDAO
This class provides Data Access methods for Field objects
Constructor Summary | |
---|---|
PhysicalFileDAO()
|
Method Summary | |
---|---|
void |
delete(int nIdPhysicalFile)
Delete a record from the table |
int |
insert(PhysicalFile physicalFile)
Insert a new record in the table. |
PhysicalFile |
load(int nId)
Load the data of the PhysicalFile from the table |
int |
newPrimaryKey()
Generates a new primary key |
void |
store(PhysicalFile physicalFile)
Update the physical 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 PhysicalFileDAO()
Method Detail |
---|
public int newPrimaryKey()
newPrimaryKey
in interface IPhysicalFileDAO
plugin
- the plugin
public int insert(PhysicalFile physicalFile)
insert
in interface IPhysicalFileDAO
physicalFile
- instance of the PhysicalFile object to insertplugin
- the plugin
public PhysicalFile load(int nId)
load
in interface IPhysicalFileDAO
nId
- The identifier of the fileplugin
- the plugin
public void delete(int nIdPhysicalFile)
delete
in interface IPhysicalFileDAO
nIdPhysicalFile
- The identifier of the PhyscalFileplugin
- the pluginpublic void store(PhysicalFile physicalFile)
store
in interface IPhysicalFileDAO
physicalFile
- instance of the physicalFile object to updateplugin
- the plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |