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(since="ages",
forRemoval=true)
public class DefaultProductDao
extends AbstractItemDao
implements ProductDao
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionfindAllByCategory(CategoryModel category, int start, int count) Deprecated, for removal: This API element is subject to removal in a future version.findProduct(CatalogVersionModel catalogVersion, String code) Deprecated, for removal: This API element is subject to removal in a future version.findProduct(String code) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultProductDao
public DefaultProductDao()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
findAllByCategory
Deprecated, for removal: This API element is subject to removal in a future version.- 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
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
findProductin interfaceProductDao- Parameters:
code- the productcode- Returns:
- a
ProductModel
-
findProduct
Deprecated, for removal: This API element is subject to removal in a future version.- Specified by:
findProductin interfaceProductDao- Parameters:
catalogVersion- the catalog versioncode- the product code- Returns:
- a
ProductModel
-
DefaultProductDaoDefault implementation of the
ProductDao.