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 Summary
Modifier and TypeMethodDescriptionfindUnique(Map<String, ? extends Object> params) Deprecated.Searches for a unique model based on given parameters.getNumberOfProductsFor(SpiProductContext spiProductContext) Deprecated.Retrieves the total number of products found for a given productContext.getProducts(SpiProductContext spiProductContext, Integer offset, Integer limit) Deprecated.Retrieves a list ofSpiProductModelfor a given product context.Methods inherited from interface de.hybris.platform.servicelayer.internal.dao.GenericDao
find, find, find, find, find
-
Method Details
-
findUnique
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-Mapcontaining 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 ofSpiProductModelfor 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
Deprecated.Retrieves the total number of products found for a given productContext.- Parameters:
spiProductContext- the product context.- Returns:
- the number of products found.
-