Interface CommerceProductService

All Known Implementing Classes:
DefaultCommerceProductService

public interface CommerceProductService
Product related methods that add extra b2c relevant functions not provided in ProductService
  • 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 is null
    • 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. Use CommerceStockService
      Parameters:
      productModel - the product model to look stock level for
      Returns:
      the available stock