Interface ItemCleanupHook<MODEL extends ItemModel>

All Known Implementing Classes:
AuditServicesCustomerCleanupHook, CommerceServicesCustomerCleanupHook, CommerceServicesOrderCleanupHook, CouponNotificationCleanupHook, CsTicketCleanupHook, CsTicketsByCustomerCleanupHook, CustomerInterestsCleanupHook, CustomerVendorReviewsCleanupHook, CustomerVendorReviewsCleanupHook, PersonalizationCustomerCleanupHook, SiteMessageCleanupHook, WishlistCustomerCleanupHook

public interface ItemCleanupHook<MODEL extends ItemModel>
A hook strategy to run custom code to cleanup related objects for item cleanup.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Cleanup related objects before cleanup item.
  • Method Details

    • cleanupRelatedObjects

      void cleanupRelatedObjects(MODEL item)
      Cleanup related objects before cleanup item.
      Parameters:
      item - its related objects to cleanup