Class CatalogAccessPolicyModifiedEvent

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

public class CatalogAccessPolicyModifiedEvent extends Object implements Serializable
A message event dispatched after a CatalogAccessPolicy is created, updated, or deleted by an admin.
Author:
Susana Cruz
See Also:
  • Constructor Details

    • CatalogAccessPolicyModifiedEvent

      public CatalogAccessPolicyModifiedEvent()
  • Method Details

    • getCatalogAccessPolicy

      public CatalogAccessPolicy getCatalogAccessPolicy()
      The augmentation that has been created / modified
    • getOperationType

      public String getOperationType()
      The type of operation that has occurred ("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.
      Returns:
      The ContextInfo derived from the original request
    • setCatalogAccessPolicy

      public void setCatalogAccessPolicy(CatalogAccessPolicy catalogAccessPolicy)
      The augmentation that has been created / modified
      Parameters:
      augmentation -
    • setOperationType

      public void setOperationType(String operationType)
      The type of operation that has occurred ("CREATE", "UPDATE" or "DELETE")
      Parameters:
      operationType -
    • 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