public void deleteProduct(Long productId) {
   productDAO.deleteProduct(productId);
 }
 public Product updateProduct(Product product) {
   ProductEntity productEntity = ProductBeanConverter.convertBeanToEntity(product);
   productDAO.updateProduct(productEntity);
   return product;
 }
 public Product saveProduct(Product product) {
   ProductEntity productEntity = ProductBeanConverter.convertBeanToEntity(product);
   productDAO.saveProduct(productEntity);
   product.setId(productEntity.getId());
   return product;
 }
 public Product getProductByName(String productName) {
   ProductEntity productEntity = productDAO.getProductByName(productName);
   Product product = ProductBeanConverter.convertEntityToBean(productEntity);
   return product;
 }
 public Product getProductById(Long productId) {
   // TODO Bean Converter
   ProductEntity productEntity = productDAO.getProductById(productId);
   Product product = ProductBeanConverter.convertEntityToBean(productEntity);
   return product;
 }
 public List<Product> getProducts() {
   List<ProductEntity> productEntityList = productDAO.getProducts();
   List<Product> productList = ProductBeanConverter.getBeanList(productEntityList);
   return productList;
 }