public class DefaultCmsCacheKeyProvider extends java.lang.Object implements CmsCacheKeyProvider<SimpleCMSComponentModel>
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultCmsCacheKeyProvider.CmsCacheKey |
| Constructor and Description |
|---|
DefaultCmsCacheKeyProvider() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendRestrictionKeys(HttpServletRequest request,
SimpleCMSComponentModel component,
java.lang.StringBuilder key) |
protected CMSPageContextService |
getCmsPageContextService(HttpServletRequest request) |
protected CMSRestrictionService |
getCmsRestrictionService(HttpServletRequest request) |
protected CommerceCommonI18NService |
getCommerceCommonI18NService(HttpServletRequest request) |
CacheKey |
getKey(HttpServletRequest request,
SimpleCMSComponentModel component) |
protected java.lang.StringBuilder |
getKeyForRestriction(HttpServletRequest request,
AbstractRestrictionModel restriction) |
protected java.lang.StringBuilder |
getKeyInternal(HttpServletRequest request,
SimpleCMSComponentModel component) |
protected RequestContextData |
getRequestContextData(HttpServletRequest request) |
protected RestrictionData |
getRestrictionData(HttpServletRequest request) |
protected java.lang.String |
handleRestrictionEvaluationException(HttpServletRequest request,
SimpleCMSComponentModel component,
AbstractRestrictionModel restriction,
RestrictionEvaluationException e) |
protected void |
processCMSCatalogRestriction(CMSCatalogRestrictionModel restriction,
java.lang.StringBuilder key) |
protected void |
processCMSCategoryRestriction(HttpServletRequest request,
java.lang.StringBuilder key) |
protected void |
processCMSProductRestriction(HttpServletRequest request,
java.lang.StringBuilder key) |
protected void |
processCMSUserGroupRestriction(CMSUserGroupRestrictionModel restriction,
java.lang.StringBuilder key) |
protected void |
processCMSUserRestriction(CMSUserRestrictionModel restriction,
java.lang.StringBuilder key) |
protected CMSRestrictionService getCmsRestrictionService(HttpServletRequest request)
protected CMSPageContextService getCmsPageContextService(HttpServletRequest request)
protected CommerceCommonI18NService getCommerceCommonI18NService(HttpServletRequest request)
public CacheKey getKey(HttpServletRequest request, SimpleCMSComponentModel component)
getKey in interface CmsCacheKeyProvider<SimpleCMSComponentModel>protected java.lang.StringBuilder getKeyInternal(HttpServletRequest request,
SimpleCMSComponentModel component)
protected void appendRestrictionKeys(HttpServletRequest request,
SimpleCMSComponentModel component,
java.lang.StringBuilder key)
protected java.lang.String handleRestrictionEvaluationException(HttpServletRequest request,
SimpleCMSComponentModel component,
AbstractRestrictionModel restriction,
RestrictionEvaluationException e)
protected java.lang.StringBuilder getKeyForRestriction(HttpServletRequest request,
AbstractRestrictionModel restriction)
protected void processCMSUserRestriction(CMSUserRestrictionModel restriction, java.lang.StringBuilder key)
protected void processCMSUserGroupRestriction(CMSUserGroupRestrictionModel restriction, java.lang.StringBuilder key)
protected void processCMSCatalogRestriction(CMSCatalogRestrictionModel restriction, java.lang.StringBuilder key)
protected void processCMSProductRestriction(HttpServletRequest request,
java.lang.StringBuilder key)
protected void processCMSCategoryRestriction(HttpServletRequest request,
java.lang.StringBuilder key)
protected RequestContextData getRequestContextData(HttpServletRequest request)
protected RestrictionData getRestrictionData(HttpServletRequest request)
Copyright © 2018 SAP SE. All Rights Reserved.