Class CategoryPersistenceHandler
java.lang.Object
com.broadleafcommerce.catalog.messaging.CategoryPersistenceHandler
- All Implemented Interfaces:
com.broadleafcommerce.common.messaging.PersistenceHandler
public class CategoryPersistenceHandler
extends Object
implements com.broadleafcommerce.common.messaging.PersistenceHandler
Clear the
Category
ancestors cache in
CategoryProductConsolidationContributor
if a production change has been made to a
category.-
Field Summary
Fields inherited from interface com.broadleafcommerce.common.messaging.PersistenceHandler
log
-
Constructor Summary
ConstructorDescriptionCategoryPersistenceHandler
(CategoryProductConsolidationContributor categoryProductConsolidationContributor, com.fasterxml.jackson.databind.ObjectMapper objectMapper) -
Method Summary
Modifier and TypeMethodDescriptionprotected CategoryProductConsolidationContributor
com.fasterxml.jackson.databind.ObjectMapper
String[]
void
void
processStateChange
(com.fasterxml.jackson.databind.JsonNode entityJson) 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.messaging.PersistenceHandler
handle, isValidType, validate
-
Constructor Details
-
CategoryPersistenceHandler
public CategoryPersistenceHandler(CategoryProductConsolidationContributor categoryProductConsolidationContributor, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
-
-
Method Details
-
hook
- Specified by:
hook
in interfacecom.broadleafcommerce.common.messaging.PersistenceHandler
-
processStateChange
public void processStateChange(com.fasterxml.jackson.databind.JsonNode entityJson) - Specified by:
processStateChange
in interfacecom.broadleafcommerce.common.messaging.PersistenceHandler
-
getSupportedSimpleTypeNames
- Specified by:
getSupportedSimpleTypeNames
in interfacecom.broadleafcommerce.common.messaging.PersistenceHandler
-
getCategoryProductConsolidationContributor
-
getObjectMapper
public com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()- Specified by:
getObjectMapper
in interfacecom.broadleafcommerce.common.messaging.PersistenceHandler
-