Class AdvancedStructuredContentCacheInvalidationEventConsumer
java.lang.Object
com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
com.broadleafcommerce.advancedcms.event.consumer.AdvancedStructuredContentCacheInvalidationEventConsumer
- All Implemented Interfaces:
com.broadleafcommerce.jobsevents.service.EntityManagerFactoryAwareSystemEventConsumer,com.broadleafcommerce.jobsevents.service.SystemEventConsumer,org.springframework.core.Ordered
@Component("blAdvancedStructuredContentCacheInvalidationEventConsumer")
public class AdvancedStructuredContentCacheInvalidationEventConsumer
extends com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
- Author:
- Jeff Fischer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AdvancedStructuredContentDaoprotected ContentItemServiceprotected ContentZoneServiceprotected org.broadleafcommerce.common.sandbox.service.SandBoxServiceprotected org.broadleafcommerce.cms.structure.service.StructuredContentServiceprotected org.broadleafcommerce.common.util.StreamingTransactionCapableUtilFields inherited from class com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
entityManagerFactoryFields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCEFields inherited from interface com.broadleafcommerce.jobsevents.service.SystemEventConsumer
DEFAULT_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleancanHandleEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) protected booleancheckEntityType(com.broadleafcommerce.jobsevents.domain.SystemEvent event, Class<? extends Object> clazz) voidconsumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) protected ContentItemfindContentItemByActiveStructuredContent(org.broadleafcommerce.cms.structure.domain.StructuredContent sc) intgetOrder()protected LonglookupIdentifierForEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) Methods inherited from class com.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
getEntityManagerFactory, setEntityManagerFactory
-
Field Details
-
scService
protected org.broadleafcommerce.cms.structure.service.StructuredContentService scService -
contentZoneService
-
contentItemService
-
sandBoxService
protected org.broadleafcommerce.common.sandbox.service.SandBoxService sandBoxService -
advStructuredContentDao
-
transUtil
protected org.broadleafcommerce.common.util.StreamingTransactionCapableUtil transUtil
-
-
Constructor Details
-
AdvancedStructuredContentCacheInvalidationEventConsumer
public AdvancedStructuredContentCacheInvalidationEventConsumer()
-
-
Method Details
-
consumeEvent
public void consumeEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) -
findContentItemByActiveStructuredContent
protected ContentItem findContentItemByActiveStructuredContent(org.broadleafcommerce.cms.structure.domain.StructuredContent sc) -
canHandleEvent
protected boolean canHandleEvent(com.broadleafcommerce.jobsevents.domain.SystemEvent event) -
checkEntityType
-
lookupIdentifierForEvent
-
getEventType
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered- Overrides:
getOrderin classcom.broadleafcommerce.jobsevents.service.AbstractSystemEventConsumer
-