Package ai.platon.pulsar.test.server.ec
Class CatalogService
-
- All Implemented Interfaces:
@Service() public final class CatalogService
-
-
Constructor Summary
Constructors Constructor Description CatalogService(CatalogLoader catalogLoader)
-
Method Summary
Modifier and Type Method Description final List<Category>allCategories()final CategorygetCategory(String id)final List<Product>getProductsByCategory(String id)final ProductgetProduct(String id)-
-
Constructor Detail
-
CatalogService
CatalogService(CatalogLoader catalogLoader)
-
-
Method Detail
-
allCategories
final List<Category> allCategories()
-
getCategory
final Category getCategory(String id)
-
getProductsByCategory
final List<Product> getProductsByCategory(String id)
-
getProduct
final Product getProduct(String id)
-
-
-
-