예제 #1
0
 public List<Product> listProductById(int id) {
   return productDAO.listProductById(id);
 }
예제 #2
0
  @Transactional
  public List<Product> listProduct() {

    return productDAO.listProduct();
  }
예제 #3
0
 @Transactional
 public void removeProduct(Integer productId) {
   productDAO.removeProduct(productId);
 }
예제 #4
0
 @Transactional
 public void addProduct(Product product) {
   productDAO.addProduct(product);
 }