fr.paris.lutece.plugins.stock.business.product
Interface IProductImageDAO

All Known Implementing Classes:
ProductImageDAO

public interface IProductImageDAO

The Interface IProductImageDAO.


Method Summary
 byte[] getImage(java.lang.Integer idProduct)
          Gets the image.
 byte[] getTbImage(java.lang.Integer idProduct)
          Gets the thumbnail image.
 void remove(java.lang.Integer idProduct)
          Removes the image in database.
 void saveImage(java.lang.Integer idProduct, java.io.File fisTbImage, java.io.File fisImage)
          Save image.
 

Method Detail

saveImage

void saveImage(java.lang.Integer idProduct,
               java.io.File fisTbImage,
               java.io.File fisImage)
Save image.

Parameters:
idProduct - the id product
fisTbImage - the fis tb image
fisImage - the fis image

getImage

byte[] getImage(java.lang.Integer idProduct)
Gets the image.

Parameters:
idProduct - the id product
Returns:
the image

getTbImage

byte[] getTbImage(java.lang.Integer idProduct)
Gets the thumbnail image.

Parameters:
idProduct - the id product
Returns:
the tb image

remove

void remove(java.lang.Integer idProduct)
Removes the image in database.

Parameters:
idProduct - the id product


Copyright © 2012 Mairie de Paris. All Rights Reserved.