Class CatalogAccessPolicyModifiedEvent
java.lang.Object
com.broadleafcommerce.search.core.messaging.CatalogAccessPolicyModifiedEvent
- All Implemented Interfaces:
Serializable
A message event dispatched after a CatalogAccessPolicy is created, updated, or deleted by an
admin.
- Author:
- Susana Cruz
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.search.api.domain.accesspolicy.SearchCatalogAccessPolicy
The augmentation that has been created / modifiedcom.broadleafcommerce.data.tracking.core.context.ContextInfo
TheContextInfo
derived from the original request containing tenant and sandbox info.The type of operation that has occurred ("CREATE", "UPDATE" or "DELETE")int
hashCode()
void
setCatalogAccessPolicy
(com.broadleafcommerce.search.api.domain.accesspolicy.SearchCatalogAccessPolicy catalogAccessPolicy) The augmentation that has been created / modifiedvoid
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) TheContextInfo
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")toString()
-
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
The type of operation that has occurred ("CREATE", "UPDATE" or "DELETE") -
getContextInfo
@Nullable public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()TheContextInfo
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
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) TheContextInfo
derived from the original request containing tenant and sandbox info. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-