Interface CacheKeyService
- All Known Implementing Classes:
DefaultCacheKeyService
public interface CacheKeyService
Generates cache keys to be used for hybris cache regions
-
Method Summary
Modifier and TypeMethodDescriptionCreates a cache key for the authorization data cache regioncreateAuthorizationDataCacheKey(String baseSite) Creates a cache key for the authorization data cache region where the base site is set externallydefault DefaultCacheKeyCreates a cache key for the client authorization data cache regiondefault DefaultCacheKeycreateClientAuthorizationDataCacheKey(String baseSite, String ownerId) Creates a cache key for the client authorization data cache region where the base site is set externallycreateConfigurationSummaryCacheKey(String configId) Creates a cache key for the configuration summary cache regiondefault DefaultCacheKeycreateConfigurationTabsCacheKey(String configId) Creates a cache key for the configuration tabs cache regiondefault DefaultCacheKeycreateCookieCacheKey(String configId) Created a cache key for the session cookie cache region
-
Method Details
-
createAuthorizationDataCacheKey
Creates a cache key for the authorization data cache region where the base site is set externally- Parameters:
baseSite- base site- Returns:
- the created cache key
-
createAuthorizationDataCacheKey
DefaultCacheKey createAuthorizationDataCacheKey()Creates a cache key for the authorization data cache region- Returns:
- the created cache key
-
createConfigurationSummaryCacheKey
Creates a cache key for the configuration summary cache region- Parameters:
configId- identifier of the configuration summary- Returns:
- the created cache key
-
createClientAuthorizationDataCacheKey
Creates a cache key for the client authorization data cache region where the base site is set externally- Parameters:
baseSite- base siteownerId- owner id- Returns:
- the created cache key
-
createClientAuthorizationDataCacheKey
Creates a cache key for the client authorization data cache region- Parameters:
ownerId- owner id- Returns:
- the created cache key
-
createCookieCacheKey
Created a cache key for the session cookie cache region- Parameters:
configId- identifier of the configuration- Returns:
- cache key
-
createConfigurationTabsCacheKey
Creates a cache key for the configuration tabs cache region- Parameters:
configId- identifier of the configuration- Returns:
- the created cache key
-