DefaultProductDao
Default implementation of the ProductDao.@Deprecated public class DefaultProductDao extends AbstractItemDao implements ProductDao
flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultProductDao()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
SearchResult<ProductModel> |
findAllByCategory(CategoryModel category,
int start,
int count)
Deprecated.
|
ProductModel |
findProduct(CatalogVersionModel catalogVersion,
java.lang.String code)
Deprecated.
|
ProductModel |
findProduct(java.lang.String code)
Deprecated.
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic SearchResult<ProductModel> findAllByCategory(CategoryModel category, int start, int count)
findAllByCategory in interface ProductDaocategory - 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.SearchResult with the found results. A SearchResult is used for the paging (start,count) of the
elements.public ProductModel findProduct(java.lang.String code)
findProduct in interface ProductDaocode - the product codeProductModelpublic ProductModel findProduct(CatalogVersionModel catalogVersion, java.lang.String code)
findProduct in interface ProductDaocatalogVersion - the catalog versioncode - the product codeProductModelCopyright © 2018 SAP SE. All Rights Reserved.