public final class ImageHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(Image image,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Creation of an instance of image
|
static Image |
findByPrimaryKey(int nIdImage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the image Object
|
static List<Image> |
findByTopic(int nIdTopic,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find images for a given topic
|
static List<Image> |
getListImages(fr.paris.lutece.portal.service.plugin.Plugin plugin)
return the list of all image
|
static void |
remove(int nIdImage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove image which is specified in parameter
|
static void |
removeByTopic(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove all images associated to a given topic
|
static void |
update(Image image,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update of image which is specified in parameter
|
static void |
updateMetadata(Image image,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update metatdata of image which is specified in parameter
|
public static void create(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
image - The instance of image which contains the informations to storeplugin - the pluginpublic static void update(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
image - The instance of image which contains the informations to updateplugin - the Pluginpublic static void updateMetadata(Image image, fr.paris.lutece.portal.service.plugin.Plugin plugin)
image - The instance of image which contains the informations to updateplugin - the Pluginpublic static void remove(int nIdImage,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdImage - The image key to removeplugin - the Pluginpublic static void removeByTopic(int nTopicId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
nTopicId - The Topic IDplugin - the Pluginpublic static Image findByPrimaryKey(int nIdImage, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdImage - the image idplugin - the pluginpublic static List<Image> getListImages(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin - the pluginCopyright © 2016 City of Paris. All rights reserved.