Class TenantSearchGroupEvent

java.lang.Object
com.broadleafcommerce.tenant.service.messaging.searchgroup.TenantSearchGroupEvent
All Implemented Interfaces:
Serializable

public class TenantSearchGroupEvent extends Object implements Serializable
Event emitted when a new DefaultCatalogType.SEARCH_GROUP type Catalog is created for a new Tenant or is deleted. This is useful for other services like Search to listen for to create or delete additional related entities.
Since:
2.1.0-GA
Author:
Nathan Moore (nathandmoore)
See Also:
  • Constructor Details

    • TenantSearchGroupEvent

      public TenantSearchGroupEvent()
  • Method Details

    • getSearchGroup

      public Catalog getSearchGroup()
      The Search Group that was created.
    • getTenant

      public Tenant getTenant()
      The parent Tenant.
    • getOperationType

      public String getOperationType()
      The operation type. Usually only for create or delete.
    • getContextInfo

      public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
      The context info used to create or read the searchGroup.
    • setSearchGroup

      public void setSearchGroup(Catalog searchGroup)
      The Search Group that was created.
    • setTenant

      public void setTenant(Tenant tenant)
      The parent Tenant.
    • setOperationType

      public void setOperationType(String operationType)
      The operation type. Usually only for create or delete.
    • setContextInfo

      public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      The context info used to create or read the searchGroup.
    • 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