Class ImageService
java.lang.Object
fr.paris.lutece.plugins.galleryimage.service.ImageService
- All Implemented Interfaces:
IImageService
ImageService
-
Field Summary
Fields inherited from interface fr.paris.lutece.plugins.galleryimage.service.IImageService
BEAN_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate an instance of the image classfindByPrimaryKey(int nKey) Returns an instance of a image whose identifier is specified in parameterfindImageWithBinary(int nKey) Returns an instance of a image whose identifier is specified in parameterLoad the data of all the image objects and returns them in form of a listvoidremove(int nImageId) Remove the image whose identifier is specified in parameterUpdate of the image which is specified in parameter
-
Constructor Details
-
ImageService
public ImageService()
-
-
Method Details
-
create
Description copied from interface:IImageServiceCreate an instance of the image class- Specified by:
createin interfaceIImageService- Parameters:
image- The instance of the Image which contains the informations to store- Returns:
- The instance of image which has been created with its primary key.
-
update
Description copied from interface:IImageServiceUpdate of the image which is specified in parameter- Specified by:
updatein interfaceIImageService- Parameters:
image- The instance of the Image which contains the data to store- Returns:
- The instance of the image which has been updated
-
remove
public void remove(int nImageId) Description copied from interface:IImageServiceRemove the image whose identifier is specified in parameter- Specified by:
removein interfaceIImageService- Parameters:
nImageId- The image Id
-
findByPrimaryKey
Description copied from interface:IImageServiceReturns an instance of a image whose identifier is specified in parameter- Specified by:
findByPrimaryKeyin interfaceIImageService- Parameters:
nKey- The image primary key- Returns:
- an instance of Image
-
findImageWithBinary
Description copied from interface:IImageServiceReturns an instance of a image whose identifier is specified in parameter- Specified by:
findImageWithBinaryin interfaceIImageService- Parameters:
nKey- The image primary key- Returns:
- an instance of Image
-
getImagesList
Description copied from interface:IImageServiceLoad the data of all the image objects and returns them in form of a list- Specified by:
getImagesListin interfaceIImageService- Returns:
- the list which contains the data of all the image objects
-