Interface IPhysicalFileDAO
-
- All Known Implementing Classes:
PhysicalFileDAO
public interface IPhysicalFileDAOIPhysicalFileDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nIdPhysicalFile)Delete a record from the tableintinsert(PhysicalFile physicalFile)Insert a new record in the table.PhysicalFileload(int nId)Load the data of the PhysicalFile from the tablevoidstore(PhysicalFile physicalFile)Update the physical file in the table
-
-
-
Method Detail
-
insert
int insert(PhysicalFile physicalFile)
Insert a new record in the table.- Parameters:
physicalFile- instance of the PhysicalFile object to insert- Returns:
- the id of the new physical file
-
load
PhysicalFile load(int nId)
Load the data of the PhysicalFile from the table- Parameters:
nId- The identifier of the file- Returns:
- the instance of the PhysicalFile
-
delete
void delete(int nIdPhysicalFile)
Delete a record from the table- Parameters:
nIdPhysicalFile- The identifier of the PhyscalFile
-
store
void store(PhysicalFile physicalFile)
Update the physical file in the table- Parameters:
physicalFile- instance of the physicalFile object to update
-
-