@@ -0,0 +1,1440 @@
+%0Apackage com.cross.services;%0A%0Aimport com.cross.dao.ProductPicturesDao;%0Aimport com.cross.dao.pojo.ProductPicture;%0Aimport java.util.List;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Service;%0A%0A/*%0A      @author to Ibrahim Abdsaid Hanna @2016%0A                 ibrahim.seniore@gmail.com%0A    */%0A%0A @Service(%22productPictureService%22)%0Apublic class ProductPictureService %7B%0A    %0A     ProductPicturesDao productPicturesDao;%0A%0A    @Autowired%0A    public void setProductPicturesDao(ProductPicturesDao productPicturesDao) %7B%0A        this.productPicturesDao = productPicturesDao;%0A    %7D%0A     %0A     %0A      public boolean addPhoto(ProductPicture productPicture) %7B  %0A         return productPicturesDao.addPhoto(productPicture);%0A        %7D%0A       %0A     public List%3CProductPicture%3E getProductPhotos(String productID)%7B%0A         return productPicturesDao.getProductPhotos(productID);%0A     %7D %0A     %0A        public boolean deletePhoto(String imagename, String productID)%7B%0A            return productPicturesDao.deletePhoto(imagename, productID);%0A        %7D%0A     %0A         public int getPictureCount(String productID)%7B%0A             return productPicturesDao.getPictureCount(productID);%0A         %7D%0A %0A      public boolean setMasterThumbnail(String productID, String imagename)%7B%0A         return productPicturesDao.setMasterThumbnail(productID, imagename);%0A      %7D%0A         %0A         %0A      %0A      %0A      %0A      %0A      %0A%7D%0A

Create ProductPictureService.java