ProductDao@Deprecated public interface ProductDao extends Dao
ProductModel DAO.| Modifier and Type | Method and Description |
|---|---|
SearchResult<ProductModel> |
findAllByCategory(CategoryModel category,
int start,
int count)
Deprecated.
since ages - as of release 4.3, please use
ProductDao.findProductsByCategory(CategoryModel, int, int)
Returns for the given CategoryModel and all sub categories all found ProductModels. |
ProductModel |
findProduct(CatalogVersionModel catalogVersion,
java.lang.String code)
Deprecated.
since ages - as of release 4.3, please use
ProductDao.findProductsByCode(CatalogVersionModel, String)
Returns for the given product code and the given CatalogVersionModel the
ProductModel . |
ProductModel |
findProduct(java.lang.String code)
Deprecated.
since ages - as of release 4.3, please use
ProductDao.findProductsByCode(String)
Returns for the given product code the ProductModel. |
@Deprecated SearchResult<ProductModel> findAllByCategory(CategoryModel category, int start, int count)
ProductDao.findProductsByCategory(CategoryModel, int, int)
Returns for the given CategoryModel and all sub categories all found ProductModels.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.SearchResult with the found results. A SearchResult is used for the paging (start,count) of the
elements.@Deprecated ProductModel findProduct(java.lang.String code)
ProductDao.findProductsByCode(String)
Returns for the given product code the ProductModel.code - the product codeProductModeljava.lang.IllegalArgumentException - if the given code is nullUnknownIdentifierException - if no ProductModel with the given code was found.AmbiguousIdentifierException - if for the given code more than one ProductModel was found.@Deprecated ProductModel findProduct(CatalogVersionModel catalogVersion, java.lang.String code)
ProductDao.findProductsByCode(CatalogVersionModel, String)
Returns for the given product code and the given CatalogVersionModel the
ProductModel .catalogVersion - the catalog versioncode - the product codeProductModeljava.lang.IllegalArgumentException - of catalogVersion or code is nullUnknownIdentifierException - if no ProductModel with the given code and with the given
catalogVersion was found.AmbiguousIdentifierException - if for the given code ant for the given catalogVersion more than one
ProductModel was found.Copyright © 2018 SAP SE. All Rights Reserved.