Class BusinessTypeModifiedEvent
java.lang.Object
com.broadleafcommerce.catalog.messaging.BusinessTypeModifiedEvent
- All Implemented Interfaces:
Serializable
A message event dispatched after an augmentation has been created or modified by the admin.
- Author:
- Jon Fleschler (jfleschler)
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe augmentation that has been created / modifiedcom.broadleafcommerce.data.tracking.core.context.ContextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info.The type of entity that this business type is associated withThe type of modification that has occurred ("CREATE", "UPDATE" or "DELETE")void
setBusinessType
(BusinessType businessType) The augmentation 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
setEntityType
(String entityType) The type of entity that this business type is associated withvoid
setModificationType
(String modificationType) The type of modification that has occurred ("CREATE", "UPDATE" or "DELETE")
-
Constructor Details
-
BusinessTypeModifiedEvent
-
BusinessTypeModifiedEvent
public BusinessTypeModifiedEvent()
-
-
Method Details
-
getEntityType
The type of entity that this business type is associated with -
getBusinessType
The augmentation that has been created / modified -
getModificationType
The type of modification that has occurred ("CREATE", "UPDATE" or "DELETE") -
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
-
setEntityType
The type of entity that this business type is associated with- Parameters:
entityType
-
-
setBusinessType
The augmentation that has been created / modified- Parameters:
augmentation
-
-
setModificationType
The type of modification that has occurred ("CREATE", "UPDATE" or "DELETE")- Parameters:
modificationType
-
-
setContextInfo
public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
derived from the original request containing tenant and sandbox info.
-