public final class FileHome extends Object
Modifier and Type | Method and Description |
---|---|
static int |
create(File file)
Creation of an instance of record file
|
static File |
findByPrimaryKey(int nKey)
Returns an instance of a file whose identifier is specified in parameter
|
static void |
remove(int nIdFile)
Delete the file whose identifier is specified in parameter
|
static void |
update(File file)
Update of file which is specified in parameter
|
public static int create(File file)
file
- The instance of the file which contains the informations to storepublic static void update(File file)
file
- The instance of the record file which contains the informations to updatepublic static void remove(int nIdFile)
nIdFile
- The identifier of the record filepublic static File findByPrimaryKey(int nKey)
nKey
- The file primary keyCopyright © 2020 City of Paris. All rights reserved.