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