Class CatalogAccessPolicyModifiedEvent

java.lang.Object
com.broadleafcommerce.search.core.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 Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    com.broadleafcommerce.search.api.domain.accesspolicy.SearchCatalogAccessPolicy
    The augmentation that has been created / modified
    com.broadleafcommerce.data.tracking.core.context.ContextInfo
    The ContextInfo derived from the original request containing tenant and sandbox info.
    The type of operation that has occurred ("CREATE", "UPDATE" or "DELETE")
    int
     
    void
    setCatalogAccessPolicy(com.broadleafcommerce.search.api.domain.accesspolicy.SearchCatalogAccessPolicy catalogAccessPolicy)
    The augmentation that has been created / modified
    void
    setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    The ContextInfo derived from the original request containing tenant and sandbox info.
    void
    setOperationType(String operationType)
    The type of operation that has occurred ("CREATE", "UPDATE" or "DELETE")
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CatalogAccessPolicyModifiedEvent

      public CatalogAccessPolicyModifiedEvent()
  • Method Details

    • getCatalogAccessPolicy

      public com.broadleafcommerce.search.api.domain.accesspolicy.SearchCatalogAccessPolicy 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(com.broadleafcommerce.search.api.domain.accesspolicy.SearchCatalogAccessPolicy 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