Interface SpiProductDao

All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<SpiProductModel>
All Known Implementing Classes:
DefaultSpiProductDao

@Deprecated(since="2208") public interface SpiProductDao extends de.hybris.platform.servicelayer.internal.dao.GenericDao<SpiProductModel>
Deprecated.
2208
Data access object for SpiProductModels.
Since:
2105
  • Method Details

    • findUnique

      SpiProductModel findUnique(Map<String,? extends Object> params)
      Deprecated.
      Searches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.
      Parameters:
      params - Map containing name-value pairs used for identifying the unique model
      Returns:
      model for given parameter
    • getProducts

      List<SpiProductModel> getProducts(SpiProductContext spiProductContext, Integer offset, Integer limit)
      Deprecated.
      Retrieves a list of SpiProductModel for a given product context.
      Parameters:
      spiProductContext - the product context.
      offset - the offset.
      limit - the maximum number of returned products.
      Returns:
      the list of products found for the given context.
    • getNumberOfProductsFor

      Integer getNumberOfProductsFor(SpiProductContext spiProductContext)
      Deprecated.
      Retrieves the total number of products found for a given productContext.
      Parameters:
      spiProductContext - the product context.
      Returns:
      the number of products found.