Class TenantSearchGroupEvent
java.lang.Object
com.broadleafcommerce.tenant.service.messaging.searchgroup.TenantSearchGroupEvent
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleancom.broadleafcommerce.data.tracking.core.context.ContextInfoThe context info used to create or read thesearchGroup.The operation type.The Search Group that was created.The parentTenant.inthashCode()voidsetContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) The context info used to create or read thesearchGroup.voidsetOperationType(String operationType) The operation type.voidsetSearchGroup(Catalog searchGroup) The Search Group that was created.voidThe parentTenant.toString()
-
Constructor Details
-
TenantSearchGroupEvent
public TenantSearchGroupEvent()
-
-
Method Details
-
getSearchGroup
The Search Group that was created. -
getTenant
The parentTenant. -
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 thesearchGroup. -
setSearchGroup
The Search Group that was created. -
setTenant
The parentTenant. -
setOperationType
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 thesearchGroup. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-