Class SiteMessageCleanupHook
java.lang.Object
de.hybris.platform.notificationservices.retention.hook.SiteMessageCleanupHook
- All Implemented Interfaces:
ItemCleanupHook<CustomerModel>
Hook to clean customer sitemessages.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcleanupRelatedObjects(CustomerModel customer) Cleanup related objects before cleanup item.protected ModelServiceprotected SiteMessageServicevoidsetModelService(ModelService modelService) voidsetSiteMessageService(SiteMessageService siteMessageService)
-
Constructor Details
-
SiteMessageCleanupHook
public SiteMessageCleanupHook()
-
-
Method Details
-
cleanupRelatedObjects
Description copied from interface:ItemCleanupHookCleanup related objects before cleanup item.- Specified by:
cleanupRelatedObjectsin interfaceItemCleanupHook<CustomerModel>- Parameters:
customer- its related objects to cleanup
-
getModelService
-
setModelService
-
getSiteMessageService
-
setSiteMessageService
-