public final class ImageHome extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
create(Image image)
Creation of an instance of image
|
static Image |
findByPrimaryKey(int nIdImage)
Load the image Object
|
static List<Image> |
findByTopic(int nIdTopic)
Find images for a given topic
|
static List<Image> |
getListImages()
return the list of all image
|
static void |
remove(int nIdImage)
remove image which is specified in parameter
|
static void |
removeByTopic(int nTopicId)
remove all images associated to a given topic
|
static void |
update(Image image)
Update of image which is specified in parameter
|
static void |
updateMetadata(Image image)
Update metatdata of image which is specified in parameter
|
public static void create(Image image)
image - The instance of image which contains the informations to storepublic static void update(Image image)
image - The instance of image which contains the informations to updatepublic static void updateMetadata(Image image)
image - The instance of image which contains the informations to updatepublic static void remove(int nIdImage)
nIdImage - The image key to removepublic static void removeByTopic(int nTopicId)
nTopicId - The Topic IDpublic static Image findByPrimaryKey(int nIdImage)
nIdImage - the image idpublic static List<Image> getListImages()
Copyright © 2019 City of Paris. All rights reserved.