Esempio n. 1
0
 @Override
 public void addProduct(Product product) {
   productRepository.addProduct(product);
 }
Esempio n. 2
0
 @Override
 public Product getProductById(String productId) {
   return productRepository.getProductById(productId);
 }
Esempio n. 3
0
 @Override
 public List<Product> getProductsByCategory(String category) {
   return productRepository.getProductsByCategory(category);
 }
Esempio n. 4
0
 @Override
 public Set<Product> getProductsByFilter(Map<String, List<String>> filterParams) {
   return productRepository.getProductsByFilter(filterParams);
 }
Esempio n. 5
0
 @Override
 public List<Product> getAllProducts() {
   return productRepository.getAllProducts();
 }