Interface CommerceProductService
- All Known Implementing Classes:
DefaultCommerceProductService
public interface CommerceProductService
Product related methods that add extra b2c relevant functions not provided in
ProductService-
Method Summary
Modifier and TypeMethodDescriptiongetStockLevelForProduct(ProductModel productModel) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.0.Gets the super categories except classification classes.
-
Method Details
-
getSuperCategoriesExceptClassificationClassesForProduct
Collection<CategoryModel> getSuperCategoriesExceptClassificationClassesForProduct(ProductModel productModel) throws IllegalArgumentException Gets the super categories except classification classes.- Parameters:
productModel- the product model to retrieve super categories from- Returns:
- the super categories except classification classes items
- Throws:
IllegalArgumentException- the illegal argument exception when given product model isnull
-
getStockLevelForProduct
@Deprecated(since="5.0", forRemoval=true) Integer getStockLevelForProduct(ProductModel productModel) Deprecated, for removal: This API element is subject to removal in a future version.Since 5.0. UseCommerceStockService- Parameters:
productModel- the product model to look stock level for- Returns:
- the available stock
-