Class SapPricingCachedBackendERP
java.lang.Object
de.hybris.platform.sap.sappricingbol.backend.impl.SapPricingCachedBackendERP
SapPricingCachedBackendERP to read cached catalog prices
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcachePriceInformationForProduct(ProductModel productModel, SapPricingPartnerFunction partnerFunction, List<de.hybris.platform.jalo.order.price.PriceInformation> priceInformationList) Add catalog price to the cachevoidcachePriceInformationForProducts(List<ProductModel> productModels, SapPricingPartnerFunction partnerFunction, List<de.hybris.platform.jalo.order.price.PriceInformation> priceInformationList) protected StringgetPriceCacheKey(ProductModel productModel, SapPricingPartnerFunction partnerFunction) protected ObjectgetPriceCacheKey(List<ProductModel> productModels, SapPricingPartnerFunction partnerFunction) protected booleanList<de.hybris.platform.jalo.order.price.PriceInformation>readCachedPriceInformationForProduct(ProductModel productModel, SapPricingPartnerFunction partnerFunction) List<de.hybris.platform.jalo.order.price.PriceInformation>readCachedPriceInformationForProducts(List<ProductModel> productModels, SapPricingPartnerFunction partnerFunction) voidsetCacheAccess(CacheAccess cacheAccess) voidsetModuleConfigurationAccess(ModuleConfigurationAccess moduleConfigurationAccess)
-
Constructor Details
-
SapPricingCachedBackendERP
public SapPricingCachedBackendERP()
-
-
Method Details
-
readCachedPriceInformationForProduct
public List<de.hybris.platform.jalo.order.price.PriceInformation> readCachedPriceInformationForProduct(ProductModel productModel, SapPricingPartnerFunction partnerFunction) - Parameters:
productModel-partnerFunction-- Returns:
- List
-
readCachedPriceInformationForProducts
public List<de.hybris.platform.jalo.order.price.PriceInformation> readCachedPriceInformationForProducts(List<ProductModel> productModels, SapPricingPartnerFunction partnerFunction) - Parameters:
productModels-partnerFunction-- Returns:
-
cachePriceInformationForProduct
public void cachePriceInformationForProduct(ProductModel productModel, SapPricingPartnerFunction partnerFunction, List<de.hybris.platform.jalo.order.price.PriceInformation> priceInformationList) Add catalog price to the cache- Parameters:
productModel-partnerFunction-priceInformationList-
-
cachePriceInformationForProducts
public void cachePriceInformationForProducts(List<ProductModel> productModels, SapPricingPartnerFunction partnerFunction, List<de.hybris.platform.jalo.order.price.PriceInformation> priceInformationList) - Parameters:
productModels-partnerFunction-priceInformationList-
-
getPriceCacheKey
protected String getPriceCacheKey(ProductModel productModel, SapPricingPartnerFunction partnerFunction) -
getPriceCacheKey
protected Object getPriceCacheKey(List<ProductModel> productModels, SapPricingPartnerFunction partnerFunction) -
isCatalogPriceCacheEnabled
protected boolean isCatalogPriceCacheEnabled() -
getCacheAccess
- Returns:
- CacheAccess
-
setCacheAccess
- Parameters:
cacheAccess-
-
getModuleConfigurationAccess
- Returns:
- ModuleConfigurationAccess
-
setModuleConfigurationAccess
- Parameters:
moduleConfigurationAccess-
-