public interface ProductService
Modifier and Type | Method and Description |
---|---|
void |
deleteProduct(Long productId) |
Optional<ProductModel> |
getProduct(Long productId) |
Optional<ProductModel> |
getProduct(String catalogId,
String name) |
List<ProductModel> |
getProducts() |
List<ProductModel> |
getProducts(int startPage,
int itemsPerPage,
String sortColumn,
String direction) |
List<ProductModel> |
getProducts(String catalogId) |
List<ProductModel> |
getProducts(String catalogId,
int startPage,
int itemsPerPage,
String sortColumn,
String direction) |
ProductModel |
saveProduct(ProductModel product) |
List<ProductModel> getProducts(int startPage, int itemsPerPage, String sortColumn, String direction)
List<ProductModel> getProducts(String catalogId, int startPage, int itemsPerPage, String sortColumn, String direction)
List<ProductModel> getProducts()
List<ProductModel> getProducts(String catalogId)
Optional<ProductModel> getProduct(Long productId)
Optional<ProductModel> getProduct(String catalogId, String name)
ProductModel saveProduct(ProductModel product)
void deleteProduct(Long productId)
Copyright © 2016-2018 Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Apache Log4j Audit, Log4j, Log4j Audit, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.