public final class PhysicalFileHome extends Object
Modifier and Type | Method and Description |
---|---|
static int |
create(PhysicalFile physicalFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of record physical file
|
static PhysicalFile |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a physical file whose identifier is specified in parameter
|
static void |
remove(int nIdPhysicalFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the physical file whose identifier is specified in parameter
|
static void |
update(PhysicalFile physicalFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of physical file which is specified in parameter
|
public static int create(PhysicalFile physicalFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
physicalFile
- The instance of the physical file which contains the informations to storeplugin
- the pluginpublic static void update(PhysicalFile physicalFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
physicalFile
- The instance of the record physicalFile which contains the informations to updateplugin
- the Pluginpublic static void remove(int nIdPhysicalFile, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdPhysicalFile
- The identifier of the record physical fileplugin
- the Pluginpublic static PhysicalFile findByPrimaryKey(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey
- The file primary keyplugin
- the PluginCopyright © 2016 City of Paris. All rights reserved.