@Override public Product addProduct( String name, String details, double price, String manufacturer, Date creation, ProductImage productImage) { return productService.addProduct(name, details, price, manufacturer, creation, productImage); }
@Override public List<Product> getProductsByPriceInterval(double fromPrice, double toPrice) { return productService.getProductsByPriceInterval(fromPrice, toPrice); }
@Override public List<Product> getProductsByManufacturer(String manufacturer) { return productService.getProductsByManufacturer(manufacturer); }
@Override public List<Product> getProductsByName(String name) { return productService.getProductsByName(name); }
@Override public Product getProductById(long id) throws FitnessDaoException { return productService.getProductById(id); }
@Override public List<Product> getAllProduct() { return productService.getAllProducts(); }
@Override public void updateProduct(Product product) { productService.updateProduct(product); }
@Override public void deleteProduct(Product product) { productService.deleteProduct(product); }
@Override public void updateProductAndSaveImage(Product product, ProductImage image) { productService.updateProductAndSaveImage(product, image); }