Class PhysicalFileDAO
java.lang.Object
fr.paris.lutece.portal.business.physicalfile.PhysicalFileDAO
- All Implemented Interfaces:
IPhysicalFileDAO
This class provides Data Access methods for Field objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nIdPhysicalFile) Delete a record from the tableintinsert(PhysicalFile physicalFile) Insert a new record in the table.load(int nId) Load the data of the PhysicalFile from the tablevoidstore(PhysicalFile physicalFile) Update the physical file in the table
-
Constructor Details
-
PhysicalFileDAO
public PhysicalFileDAO()
-
-
Method Details
-
insert
Insert a new record in the table.- Specified by:
insertin interfaceIPhysicalFileDAO- Parameters:
physicalFile- instance of the PhysicalFile object to insert- Returns:
- the id of the new physical file
-
load
Load the data of the PhysicalFile from the table- Specified by:
loadin interfaceIPhysicalFileDAO- Parameters:
nId- The identifier of the file- Returns:
- the instance of the PhysicalFile
-
delete
public void delete(int nIdPhysicalFile) Delete a record from the table- Specified by:
deletein interfaceIPhysicalFileDAO- Parameters:
nIdPhysicalFile- The identifier of the PhyscalFile
-
store
Update the physical file in the table- Specified by:
storein interfaceIPhysicalFileDAO- Parameters:
physicalFile- instance of the physicalFile object to update
-