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.
since ages - as of release 4.3, please useDefaultProductDao

Default implementation of the ProductDao.

  • Constructor Details

    • DefaultProductDao

      public DefaultProductDao()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • findAllByCategory

      public SearchResult<ProductModel> findAllByCategory(CategoryModel category, int start, int count)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findAllByCategory in interface ProductDao
      Parameters:
      category - the (root) category in which the search for the products starts
      start - 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 SearchResult with the found results. A SearchResult is used for the paging (start,count) of the elements.
    • findProduct

      public ProductModel findProduct(String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findProduct in interface ProductDao
      Parameters:
      code - the product code
      Returns:
      a ProductModel
    • findProduct

      public ProductModel findProduct(CatalogVersionModel catalogVersion, String code)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      findProduct in interface ProductDao
      Parameters:
      catalogVersion - the catalog version
      code - the product code
      Returns:
      a ProductModel