|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.form.business.file.FileHome
public final class FileHome
This class provides instances management methods (create, find, ...) for file objects
| Method Summary | |
|---|---|
static int |
create(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of record file |
static File |
findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Returns an instance of a file whose identifier is specified in parameter |
static void |
remove(int nIdFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the file whose identifier is specified in parameter |
static void |
update(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of file which is specified in parameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static int create(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
file - The instance of the file which contains the informations to storeplugin - the plugin
public static void update(File file,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
file - The instance of the record file which contains the informations to updateplugin - the plugin
public static void remove(int nIdFile,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdFile - The identifier of the record fileplugin - the plugin
public static File findByPrimaryKey(int nKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nKey - The file primary keyplugin - the plugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||