Class DefaultConfigurationClassificationCacheStrategyImpl
- java.lang.Object
-
- de.hybris.platform.sap.productconfig.services.strategies.lifecycle.impl.DefaultConfigurationClassificationCacheStrategyImpl
-
- All Implemented Interfaces:
ConfigurationClassificationCacheStrategy
public class DefaultConfigurationClassificationCacheStrategyImpl extends java.lang.Object implements ConfigurationClassificationCacheStrategy
Default implementation of theConfigurationClassificationCacheStrategy. It uses the hybris session to store any data and hence delegates to theSessionAccessService.
-
-
Constructor Summary
Constructors Constructor Description DefaultConfigurationClassificationCacheStrategyImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.util.Map<java.lang.String,ClassificationSystemCPQAttributesContainer>getCachedNameMap()Deprecated, for removal: This API element is subject to removal in a future version.since 18.11.0 - please callProductConfigurationCacheAccessService#getCachedNameMap(ConfigModel)orProductConfigurationCacheAccessService.getCachedNameMap(String)java.util.Map<java.lang.String,ClassificationSystemCPQAttributesContainer>getCachedNameMap(ConfigModel config)Retrieves a map of of names from the Hybris classification system by the configuration modeljava.util.Map<java.lang.String,ClassificationSystemCPQAttributesContainer>getCachedNameMap(java.lang.String productCode)Retrieves a map of of names from the Hybris classification system by the product codeprotected java.lang.StringgetProductCode(ConfigModel config)protected ProductConfigurationCacheAccessServicegetProductConfigurationCacheAccessService()voidsetProductConfigurationCacheAccessService(ProductConfigurationCacheAccessService productConfigurationCacheAccessService)
-
-
-
Method Detail
-
getCachedNameMap
@Deprecated(since="1811", forRemoval=true) public java.util.Map<java.lang.String,ClassificationSystemCPQAttributesContainer> getCachedNameMap()Deprecated, for removal: This API element is subject to removal in a future version.since 18.11.0 - please callProductConfigurationCacheAccessService#getCachedNameMap(ConfigModel)orProductConfigurationCacheAccessService.getCachedNameMap(String)Description copied from interface:ConfigurationClassificationCacheStrategyRetrieves a map of of names from the Hybris classification system- Specified by:
getCachedNameMapin interfaceConfigurationClassificationCacheStrategy- Returns:
- Map of names from the Hybris classification system
-
getCachedNameMap
public java.util.Map<java.lang.String,ClassificationSystemCPQAttributesContainer> getCachedNameMap(ConfigModel config)
Description copied from interface:ConfigurationClassificationCacheStrategyRetrieves a map of of names from the Hybris classification system by the configuration model- Specified by:
getCachedNameMapin interfaceConfigurationClassificationCacheStrategy- Returns:
- Map of names from the Hybris classification system
-
getProductCode
protected java.lang.String getProductCode(ConfigModel config)
-
getCachedNameMap
public java.util.Map<java.lang.String,ClassificationSystemCPQAttributesContainer> getCachedNameMap(java.lang.String productCode)
Description copied from interface:ConfigurationClassificationCacheStrategyRetrieves a map of of names from the Hybris classification system by the product code- Specified by:
getCachedNameMapin interfaceConfigurationClassificationCacheStrategy- Returns:
- Map of names from the Hybris classification system
-
getProductConfigurationCacheAccessService
protected ProductConfigurationCacheAccessService getProductConfigurationCacheAccessService()
-
setProductConfigurationCacheAccessService
public void setProductConfigurationCacheAccessService(ProductConfigurationCacheAccessService productConfigurationCacheAccessService)
-
-