Package de.hybris.platform.product.impl
Class DefaultProductDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.product.impl.DefaultProductDao
-
- All Implemented Interfaces:
ProductDao,Dao
@Deprecated public class DefaultProductDao extends AbstractItemDao implements ProductDao
Deprecated.since ages - as of release 4.3, please useDefaultProductDaoDefault implementation of the
ProductDao.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultProductDao()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description SearchResult<ProductModel>findAllByCategory(CategoryModel category, int start, int count)Deprecated.ProductModelfindProduct(CatalogVersionModel catalogVersion, java.lang.String code)Deprecated.ProductModelfindProduct(java.lang.String code)Deprecated.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Method Detail
-
findAllByCategory
public SearchResult<ProductModel> findAllByCategory(CategoryModel category, int start, int count)
Deprecated.- Specified by:
findAllByCategoryin interfaceProductDao- 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.
-
findProduct
public ProductModel findProduct(java.lang.String code)
Deprecated.- Specified by:
findProductin interfaceProductDao- Parameters:
code- the productcode- Returns:
- a
ProductModel
-
findProduct
public ProductModel findProduct(CatalogVersionModel catalogVersion, java.lang.String code)
Deprecated.- Specified by:
findProductin interfaceProductDao- Parameters:
catalogVersion- the catalog versioncode- the product code- Returns:
- a
ProductModel
-
-