public interface IProductImageDAO
Modifier and Type | Method and Description |
---|---|
byte[] |
getImage(Integer idProduct)
Gets the image.
|
byte[] |
getRealImage(Integer idProduct)
Gets the real image.
|
byte[] |
getTbImage(Integer idProduct)
Gets the thumbnail image.
|
void |
remove(Integer idProduct)
Removes the image in database.
|
void |
saveImage(Integer idProduct,
File fisTbImage,
File fisImage,
File realImage)
Save image.
|
void saveImage(Integer idProduct, File fisTbImage, File fisImage, File realImage)
idProduct
- the id productfisTbImage
- the fis tb imagefisImage
- the fis imagebyte[] getImage(Integer idProduct)
idProduct
- the id productbyte[] getTbImage(Integer idProduct)
idProduct
- the id productbyte[] getRealImage(Integer idProduct)
idProduct
- the id productvoid remove(Integer idProduct)
idProduct
- the id productCopyright © 2020 City of Paris. All rights reserved.