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