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
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.data.tracking.core.context.ContextInfo
The context info used to create or read thesearchGroup
.The operation type.The Search Group that was created.The parentTenant
.int
hashCode()
void
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) The context info used to create or read thesearchGroup
.void
setOperationType
(String operationType) The operation type.void
setSearchGroup
(Catalog searchGroup) The Search Group that was created.void
The 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
-