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.ContextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info.The product that has been created / modifiedvoid
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info.void
setProductContextId
(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()TheContextInfo
derived from the original request containing tenant and sandbox info.- Returns:
- The
ContextInfo
derived 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) TheContextInfo
derived from the original request containing tenant and sandbox info.
-