@Component(value="blAdvancedStructuredContentCacheInvalidationEventConsumer")
public class AdvancedStructuredContentCacheInvalidationEventConsumer
extends com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
Modifier and Type | Field and Description |
---|---|
protected AdvancedStructuredContentDao |
advStructuredContentDao |
protected ContentItemService |
contentItemService |
protected ContentZoneService |
contentZoneService |
protected org.broadleafcommerce.common.sandbox.service.SandBoxService |
sandBoxService |
protected org.broadleafcommerce.cms.structure.service.StructuredContentService |
scService |
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil |
transUtil |
entityManagerFactory
Constructor and Description |
---|
AdvancedStructuredContentCacheInvalidationEventConsumer() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canHandleEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) |
protected boolean |
checkEntityType(com.broadleafcommerce.jobsevents.domain.SystemEvent event,
Class<? extends Object> clazz) |
void |
consumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) |
protected ContentItem |
findContentItemByActiveStructuredContent(org.broadleafcommerce.cms.structure.domain.StructuredContent sc) |
String |
getEventType() |
int |
getOrder() |
protected Long |
lookupIdentifierForEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) |
protected org.broadleafcommerce.common.sandbox.domain.SandBox |
lookupSandBoxFromEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) |
protected org.broadleafcommerce.cms.structure.service.StructuredContentService scService
protected ContentZoneService contentZoneService
protected ContentItemService contentItemService
protected org.broadleafcommerce.common.sandbox.service.SandBoxService sandBoxService
protected AdvancedStructuredContentDao advStructuredContentDao
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
public AdvancedStructuredContentCacheInvalidationEventConsumer()
public void consumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event)
protected ContentItem findContentItemByActiveStructuredContent(org.broadleafcommerce.cms.structure.domain.StructuredContent sc)
protected org.broadleafcommerce.common.sandbox.domain.SandBox lookupSandBoxFromEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event)
protected boolean canHandleEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event)
protected boolean checkEntityType(com.broadleafcommerce.jobsevents.domain.SystemEvent event, Class<? extends Object> clazz)
protected Long lookupIdentifierForEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event)
public String getEventType()
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
getOrder
in class com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
Copyright © 2020. All rights reserved.