Interface ShoppingProductService

All Superinterfaces:
de.hybris.platform.product.ProductService
All Known Implementing Classes:
DefaultShoppingProductService

public interface ShoppingProductService extends de.hybris.platform.product.ProductService
The Shopping interface to get Commerce Products belonging to the specified Category.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns all Commerce Products belonging to the specified Category as a List.
    getCommerceProductsForCategory(CategoryModel category, int start, int count)
    Returns the specified range of Commerce Products belonging to the specified Category as a List.

    Methods inherited from interface de.hybris.platform.product.ProductService

    containsProductsForCategory, getAllProductsCountForCategory, getAllProductsForCatalogVersion, getOfflineProductsForCategory, getOnlineProductsForCategory, getOrderableUnit, getProduct, getProduct, getProductForCode, getProductForCode, getProducts, getProducts, getProductsCountForCategory, getProductsForCategory, getProductsForCategory, getUnit
  • Method Details

    • getCommerceProductsForCategory

      List<ProductModel> getCommerceProductsForCategory(CategoryModel category)
      Returns all Commerce Products belonging to the specified Category as a List. For the search the current session active catalog versions of the current user are used.
      Parameters:
      category - the category the returned Products belong to
      Returns:
      a list of Products which belong to the specified Category
      Throws:
      IllegalArgumentException - if parameter category is null
    • getCommerceProductsForCategory

      List<ProductModel> getCommerceProductsForCategory(CategoryModel category, int start, int count)
      Returns the specified range of Commerce Products belonging to the specified Category as a List. For the search the current session active catalogversions of the current user are used.
      Parameters:
      category - the category the returned Products belong to
      start - index position of the first Product, which will be included in the returned List
      count - number of Products which will be returned in the List
      Returns:
      a list of Products with belong to the specified Category
      Throws:
      IllegalArgumentException - if parameter category is null