Class PhysicalFileHome
java.lang.Object
fr.paris.lutece.portal.business.physicalfile.PhysicalFileHome
This class provides instances management methods (create, find, ...) for physical file objects
-
Method Summary
Modifier and TypeMethodDescriptionstatic intcreate(PhysicalFile physicalFile) Creation of an instance of record physical filestatic PhysicalFilefindByPrimaryKey(int nKey) Returns an instance of a physical file whose identifier is specified in parameterstatic voidremove(int nIdPhysicalFile) Delete the physical file whose identifier is specified in parameterstatic voidupdate(PhysicalFile physicalFile) Update of physical file which is specified in parameter
-
Method Details
-
create
Creation of an instance of record physical file- Parameters:
physicalFile- The instance of the physical file which contains the informations to store- Returns:
- the id of the file after creation
-
update
Update of physical file which is specified in parameter- Parameters:
physicalFile- The instance of the record physicalFile which contains the informations to update
-
remove
public static void remove(int nIdPhysicalFile) Delete the physical file whose identifier is specified in parameter- Parameters:
nIdPhysicalFile- The identifier of the record physical file
-
findByPrimaryKey
Returns an instance of a physical file whose identifier is specified in parameter- Parameters:
nKey- The file primary key- Returns:
- an instance of physical file
-