예제 #1
0
 @Override
 public void removeProduct(String code) throws ProductCodeNotExistsException {
   Product product = productDao.getProductByProductCode(code);
   productDao.remove(product);
   log.debug("Please implement this method removeProduct" + code);
 }
예제 #2
0
 @Override
 public void removeProduct(Product product) {
   log.debug("removing product: " + product);
   productDao.remove(product);
 }