public class AbstractPromotionMessageCacheInvalidationEventConsumerExtensionHandler extends org.broadleafcommerce.common.extension.AbstractExtensionHandler implements PromotionMessageCacheInvalidationEventConsumerExtensionHandler
Constructor and Description |
---|
AbstractPromotionMessageCacheInvalidationEventConsumerExtensionHandler() |
Modifier and Type | Method and Description |
---|---|
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
gatherRelatedProducts(String fullyQualifiedClassName,
Long entityId,
org.broadleafcommerce.common.extension.ExtensionResultHolder<List<org.broadleafcommerce.core.catalog.domain.Product>> erh)
Handler implementations will gather a list of
Product s related to the class name and entity Id passed in. |
org.broadleafcommerce.common.extension.ExtensionResultStatusType |
shouldClearCache(String fullyQualifiedClassName,
Long entityId,
org.broadleafcommerce.common.extension.ExtensionResultHolder<Boolean> erh)
Handler implementations will determine whether or not the entire cache should be cleared.
|
getPriority, isEnabled, setEnabled, setPriority
public AbstractPromotionMessageCacheInvalidationEventConsumerExtensionHandler()
public org.broadleafcommerce.common.extension.ExtensionResultStatusType shouldClearCache(String fullyQualifiedClassName, Long entityId, org.broadleafcommerce.common.extension.ExtensionResultHolder<Boolean> erh)
PromotionMessageCacheInvalidationEventConsumerExtensionHandler
shouldClearCache
in interface PromotionMessageCacheInvalidationEventConsumerExtensionHandler
erh
- ExtensionResultHolder
a container for the resultpublic org.broadleafcommerce.common.extension.ExtensionResultStatusType gatherRelatedProducts(String fullyQualifiedClassName, Long entityId, org.broadleafcommerce.common.extension.ExtensionResultHolder<List<org.broadleafcommerce.core.catalog.domain.Product>> erh)
PromotionMessageCacheInvalidationEventConsumerExtensionHandler
Product
s related to the class name and entity Id passed in.gatherRelatedProducts
in interface PromotionMessageCacheInvalidationEventConsumerExtensionHandler
erh
- ExtensionResultHolder
a container for the resultCopyright © 2019. All rights reserved.