Interface ShoppingProductDao
- All Known Implementing Classes:
DefaultShoppingProductDao
public interface ShoppingProductDao
-
Method Summary
Modifier and TypeMethodDescriptionde.hybris.platform.servicelayer.search.SearchResult<ProductModel>findCommerceProductsByCategory(CategoryModel category, int start, int count) Returns for the givenCategoryModeland all sub categories all foundCommerceAncillaryProductModels.
-
Method Details
-
findCommerceProductsByCategory
de.hybris.platform.servicelayer.search.SearchResult<ProductModel> findCommerceProductsByCategory(CategoryModel category, int start, int count) Returns for the givenCategoryModeland all sub categories all foundCommerceAncillaryProductModels.- Parameters:
category- the (root) category in which the search for the products startsstart- 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
SearchResultwith the found results. A SearchResult is used for the paging (start,count) of the elements. - Throws:
IllegalArgumentException- ifcategoryisnull
-