Interface CatalogEntityDeletedEventHandler
- All Known Implementing Classes:
AbstractCatalogEntityDeletedEventHandler
,CategoryAssetCatalogEntityDeletedEventHandler
,CategoryProductCatalogEntityDeletedEventHandler
,OptionTemplateCatalogEntityDeletedEventHandler
,ProductAssetCatalogEntityDeletedEventHandler
,ProductTagCatalogEntityDeletedEventHandler
,PromotionalCategoryProductCatalogEntityDeletedEventHandler
,PromotionalProductCatalogEntityDeletedEventHandler
,TranslationCatalogEntityDeletedEventHandler
,VariantCatalogEntityDeletedEventHandler
public interface CatalogEntityDeletedEventHandler
Handler to handle events for when a
CatalogTrackable
entity is deleted, which is used to
clean up the orphaned relationship entities when the main entity is deleted.- Author:
- Sunny Yu
- See Also:
-
CatalogEntityDeletedEvent
InternalPersistenceEvent
-
Method Summary
-
Method Details
-
canHandle
boolean canHandle(org.springframework.context.ApplicationEvent event) Whether the givenApplicationEvent
can be handled.- Parameters:
event
- theApplicationEvent
that potentially represents the catalog entity deletion- Returns:
- true if the given
ApplicationEvent
can be handled, otherwise false
-
handle
void handle(org.springframework.context.ApplicationEvent event) Handles theApplicationEvent
that represents the catalog entity deletion.- Parameters:
event
- theApplicationEvent
that potentially represents the catalog entity deletion
-