Class CharacteristicModifiedEvent

java.lang.Object
com.broadleafcommerce.catalog.messaging.CharacteristicModifiedEvent
All Implemented Interfaces:
Serializable

public class CharacteristicModifiedEvent extends Object implements Serializable
An event that is emitted after a characteristic has been created or modified.
Since:
2.4.x
Author:
Sunny Yu
See Also:
  • Constructor Details

    • CharacteristicModifiedEvent

      public CharacteristicModifiedEvent()
  • Method Details

    • getCharacteristic

      public Characteristic getCharacteristic()
      The characteristic that has been created or modified.
    • getModificationType

      public String getModificationType()
      The type of modification that has occurred, e.g. CREATE, UPDATE, or DELETE.
    • getContextInfo

      @Nullable public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
      The ContextInfo derived from the original request containing tenant and sandbox info.
    • setCharacteristic

      public void setCharacteristic(Characteristic characteristic)
      The characteristic that has been created or modified.
    • setModificationType

      public void setModificationType(String modificationType)
      The type of modification that has occurred, e.g. CREATE, UPDATE, or DELETE.
    • setContextInfo

      public void setContextInfo(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      The ContextInfo derived from the original request containing tenant and sandbox info.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object