Interface ShoppingProductDao

All Known Implementing Classes:
DefaultShoppingProductDao

public interface ShoppingProductDao
  • Method Details

    • findCommerceProductsByCategory

      de.hybris.platform.servicelayer.search.SearchResult<ProductModel> findCommerceProductsByCategory(CategoryModel category, int start, int count)
      Returns for the given CategoryModel and all sub categories all found CommerceAncillaryProductModels.
      Parameters:
      category - the (root) category in which the search for the products starts
      start - the start number of the search range. Set this value to 0 for getting all products.
      count - the number of elements in the search range. Set this value to -1 for getting all products.
      Returns:
      a SearchResult with the found results. A SearchResult is used for the paging (start,count) of the elements.
      Throws:
      IllegalArgumentException - if category is null