Class SingleProductIndexedEvent
java.lang.Object
com.broadleafcommerce.search.index.catalog.messaging.SingleProductIndexedEvent
- All Implemented Interfaces:
Serializable
A message event dispatched after a product has been reindexed.
- Author:
- Jon Fleschler (jfleschler)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.data.tracking.core.context.ContextInfoTheContextInfoderived from the original request containing tenant and sandbox info.The product that has been created / modifiedvoidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfoderived from the original request containing tenant and sandbox info.voidsetProductContextId(String productContextId) The product that has been created / modified
-
Constructor Details
-
SingleProductIndexedEvent
public SingleProductIndexedEvent()
-
-
Method Details
-
getProductContextId
The product that has been created / modified -
getContextInfo
@Nullable public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()TheContextInfoderived from the original request containing tenant and sandbox info.- Returns:
- The
ContextInfoderived from the original request
-
setProductContextId
The product that has been created / modified- Parameters:
product-
-
setContextInfo
public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfoderived from the original request containing tenant and sandbox info.
-