public final class PhysicalFileDAO extends Object implements IPhysicalFileDAO
| Constructor and Description |
|---|
PhysicalFileDAO() |
| Modifier and Type | Method and Description |
|---|---|
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
|
public int newPrimaryKey()
newPrimaryKey in interface IPhysicalFileDAOpublic int insert(PhysicalFile physicalFile)
insert in interface IPhysicalFileDAOphysicalFile - instance of the PhysicalFile object to insertpublic PhysicalFile load(int nId)
load in interface IPhysicalFileDAOnId - The identifier of the filepublic void delete(int nIdPhysicalFile)
delete in interface IPhysicalFileDAOnIdPhysicalFile - The identifier of the PhyscalFilepublic void store(PhysicalFile physicalFile)
store in interface IPhysicalFileDAOphysicalFile - instance of the physicalFile object to updateCopyright © 2016 City of Paris. All rights reserved.