Exemplo n.º 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);
 }
Exemplo n.º 2
0
 @Override
 public void removeProduct(Product product) {
   log.debug("removing product: " + product);
   productDao.remove(product);
 }