Class ProductConfigurationCacheAccessServiceImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.services.cache.impl.ProductConfigurationCacheAccessServiceImpl
-
- All Implemented Interfaces:
ProductConfigurationCacheAccessService
public class ProductConfigurationCacheAccessServiceImpl extends java.lang.Object implements ProductConfigurationCacheAccessService
-
-
Constructor Summary
Constructors Constructor Description ProductConfigurationCacheAccessServiceImpl()
-
Method Summary
-
-
-
Method Detail
-
setAnalyticData
public void setAnalyticData(java.lang.String configId, AnalyticsDocument analyticsDocument)Description copied from interface:ProductConfigurationCacheAccessServiceSets analytic data into the cached map- Specified by:
setAnalyticDatain interfaceProductConfigurationCacheAccessService- Parameters:
configId- id of the configurationanalyticsDocument- analytics document to be stored
-
getAnalyticData
public AnalyticsDocument getAnalyticData(java.lang.String configId)
Description copied from interface:ProductConfigurationCacheAccessServiceRetrieves analytic data from the cached map- Specified by:
getAnalyticDatain interfaceProductConfigurationCacheAccessService- Parameters:
configId- id of the configuration- Returns:
- anlytics document
-
getPriceSummaryState
public PriceSummaryModel getPriceSummaryState(java.lang.String configId)
Description copied from interface:ProductConfigurationCacheAccessServiceRetrieves the price summary for a given runtime configuration, specified via its runtime id- Specified by:
getPriceSummaryStatein interfaceProductConfigurationCacheAccessService- Parameters:
configId- id of the configuration- Returns:
- price summary model
-
setPriceSummaryState
public void setPriceSummaryState(java.lang.String configId, PriceSummaryModel priceSummaryModel)Description copied from interface:ProductConfigurationCacheAccessServicePuts the given price summary model into the price summary model state read cache- Specified by:
setPriceSummaryStatein interfaceProductConfigurationCacheAccessService- Parameters:
configId- unique config idpriceSummaryModel- model to cache
-
getConfigurationModelEngineState
public ConfigModel getConfigurationModelEngineState(java.lang.String configId)
Description copied from interface:ProductConfigurationCacheAccessServiceRetrieves the configuration model engine state- Specified by:
getConfigurationModelEngineStatein interfaceProductConfigurationCacheAccessService- Parameters:
configId- id of the configuration- Returns:
- Configuration model
-
setConfigurationModelEngineState
public void setConfigurationModelEngineState(java.lang.String configId, ConfigModel configModel)Description copied from interface:ProductConfigurationCacheAccessServicePuts the given config model into the engine state read cache- Specified by:
setConfigurationModelEngineStatein interfaceProductConfigurationCacheAccessService- Parameters:
configId- unique config idconfigModel- model to cache
-
removeConfigAttributeState
public void removeConfigAttributeState(java.lang.String configId)
Description copied from interface:ProductConfigurationCacheAccessServiceRemoves cached config, prices and analytics data from caches- Specified by:
removeConfigAttributeStatein interfaceProductConfigurationCacheAccessService- Parameters:
configId- associated configuration runtime id
-
getCachedNameMap
public java.util.Map<java.lang.String,ClassificationSystemCPQAttributesContainer> getCachedNameMap(java.lang.String productCode)
Description copied from interface:ProductConfigurationCacheAccessServiceRetrieves a map of names from the Hybris classification system- Specified by:
getCachedNameMapin interfaceProductConfigurationCacheAccessService- Parameters:
productCode- The productCode for the classification system to retrieve- Returns:
- Map of names from the Hybris classification system
-
getKeyGenerator
protected CacheKeyGenerator getKeyGenerator()
-
setKeyGenerator
public void setKeyGenerator(CacheKeyGenerator keyGenerator)
-
getAnalyticsCache
protected ProductConfigurationCacheAccess<ProductConfigurationCacheKey,AnalyticsDocument> getAnalyticsCache()
-
setAnalyticsCache
public void setAnalyticsCache(ProductConfigurationCacheAccess<ProductConfigurationCacheKey,AnalyticsDocument> analyticsCache)
-
getPriceSummaryCache
protected ProductConfigurationCacheAccess<ProductConfigurationCacheKey,PriceSummaryModel> getPriceSummaryCache()
-
setPriceSummaryCache
public void setPriceSummaryCache(ProductConfigurationCacheAccess<ProductConfigurationCacheKey,PriceSummaryModel> priceSummaryCache)
-
getConfigCache
protected ProductConfigurationCacheAccess<ProductConfigurationCacheKey,ConfigModel> getConfigCache()
-
setConfigCache
public void setConfigCache(ProductConfigurationCacheAccess<ProductConfigurationCacheKey,ConfigModel> configCache)
-
getClassificationSystemCPQAttributesCache
protected ProductConfigurationCacheAccess<ProductConfigurationCacheKey,java.util.Map<java.lang.String,ClassificationSystemCPQAttributesContainer>> getClassificationSystemCPQAttributesCache()
-
setClassificationSystemCPQAttributesCache
public void setClassificationSystemCPQAttributesCache(ProductConfigurationCacheAccess<ProductConfigurationCacheKey,java.util.Map<java.lang.String,ClassificationSystemCPQAttributesContainer>> classificationSystemCPQAttributesCache)
-
-