Class ContentKeyGen.ContentWithPreviewKeyGenerator
java.lang.Object
com.broadleafcommerce.data.tracking.core.cache.DataTrackingKeyGen.CatalogWithLocaleKeyGenerator
com.broadleafcommerce.data.tracking.core.cache.DataTrackingKeyGen.CatalogWithLocaleWithInstantKeyGenerator
com.broadleafcommerce.content.cache.ContentKeyGen.ContentWithPreviewKeyGenerator
- All Implemented Interfaces:
com.broadleafcommerce.common.extension.cache.key.ContextKeyGen
,com.broadleafcommerce.common.extension.cache.key.InstantAwareKey
,org.springframework.cache.interceptor.KeyGenerator
- Enclosing class:
- ContentKeyGen
public static class ContentKeyGen.ContentWithPreviewKeyGenerator
extends com.broadleafcommerce.data.tracking.core.cache.DataTrackingKeyGen.CatalogWithLocaleWithInstantKeyGenerator
implements com.broadleafcommerce.common.extension.cache.key.InstantAwareKey
-
Constructor Summary
ConstructorsConstructorDescriptionContentWithPreviewKeyGenerator
(com.broadleafcommerce.data.tracking.core.cache.marketplace.vendor.VendorAwareCacheKeyEnhancer vendorAwareCacheKeyEnhancer) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addContextInfoDataToKey
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.fasterxml.jackson.databind.node.ObjectNode key) Methods inherited from class com.broadleafcommerce.data.tracking.core.cache.DataTrackingKeyGen.CatalogWithLocaleKeyGenerator
applyKeyFromArg, getVendorAwareCacheKeyEnhancer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.broadleafcommerce.common.extension.cache.key.ContextKeyGen
generate, generate, generateWithPrefix, getArgs, getRouteKey
-
Constructor Details
-
ContentWithPreviewKeyGenerator
public ContentWithPreviewKeyGenerator() -
ContentWithPreviewKeyGenerator
public ContentWithPreviewKeyGenerator(@Nullable com.broadleafcommerce.data.tracking.core.cache.marketplace.vendor.VendorAwareCacheKeyEnhancer vendorAwareCacheKeyEnhancer)
-
-
Method Details
-
addContextInfoDataToKey
protected void addContextInfoDataToKey(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.fasterxml.jackson.databind.node.ObjectNode key) - Overrides:
addContextInfoDataToKey
in classcom.broadleafcommerce.data.tracking.core.cache.DataTrackingKeyGen.CatalogWithLocaleKeyGenerator
-