Interface MasterDataCacheAccessService
- All Known Implementing Classes:
MasterDataCacheAccessServiceImpl
public interface MasterDataCacheAccessService
Facilitates cache access for master data
-
Method Summary
Modifier and TypeMethodDescriptionvoidClears the cachede.hybris.platform.sap.productconfig.runtime.interf.cache.ProductConfigurationCacheAccess<de.hybris.platform.sap.productconfig.runtime.interf.cache.impl.ProductConfigurationCacheKey,CPSMasterDataKnowledgeBaseContainer> getCache()Access the Cache Region objectgetKbContainer(String kbId, String language) Retrieves the knowledgebase container for a given id and languagevoidremoveKbContainer(String kbId, String language) Removes knowledgebase from cache
-
Method Details
-
getKbContainer
Retrieves the knowledgebase container for a given id and language- Parameters:
kbId- knowledgebase idlanguage- language code- Returns:
- knowledgebase for id and language code
-
getCache
de.hybris.platform.sap.productconfig.runtime.interf.cache.ProductConfigurationCacheAccess<de.hybris.platform.sap.productconfig.runtime.interf.cache.impl.ProductConfigurationCacheKey,CPSMasterDataKnowledgeBaseContainer> getCache()Access the Cache Region object- Returns:
- ProductConfigurationCacheAccess<ProductConfigurationCacheKey, CPSMasterDataKnowledgeBaseContainer> object
-
clearCache
void clearCache()Clears the cache -
removeKbContainer
Removes knowledgebase from cache- Parameters:
kbId- knowledgebase idlanguage- language code
-