public class ImageService extends Object implements IImageService
BEAN_NAME| Constructor and Description |
|---|
ImageService() |
| Modifier and Type | Method and Description |
|---|---|
Image |
create(Image image)
Create an instance of the image class
|
Image |
findByPrimaryKey(int nKey)
Returns an instance of a image whose identifier is specified in parameter
|
Image |
findImageWithBinary(int nKey)
Returns an instance of a image whose identifier is specified in parameter
|
List<Image> |
getImagesList()
Load the data of all the image objects and returns them in form of a list
|
void |
remove(int nImageId)
Remove the image whose identifier is specified in parameter
|
Image |
update(Image image)
Update of the image which is specified in parameter
|
public Image create(Image image)
IImageServicecreate in interface IImageServiceimage - The instance of the Image which contains the informations to storepublic Image update(Image image)
IImageServiceupdate in interface IImageServiceimage - The instance of the Image which contains the data to storepublic void remove(int nImageId)
IImageServiceremove in interface IImageServicenImageId - The image Idpublic Image findByPrimaryKey(int nKey)
IImageServicefindByPrimaryKey in interface IImageServicenKey - The image primary keypublic Image findImageWithBinary(int nKey)
IImageServicefindImageWithBinary in interface IImageServicenKey - The image primary keypublic List<Image> getImagesList()
IImageServicegetImagesList in interface IImageServiceCopyright © 2023 City of Paris. All rights reserved.