예제 #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();
 }