Class CouponNotificationCleanupHook
- java.lang.Object
-
- de.hybris.platform.customercouponservices.retention.hook.CouponNotificationCleanupHook
-
- All Implemented Interfaces:
ItemCleanupHook<CustomerModel>
public class CouponNotificationCleanupHook extends java.lang.Object implements ItemCleanupHook<CustomerModel>
Cleans customer coupon notification when the retention framework removes customer data
-
-
Constructor Summary
Constructors Constructor Description CouponNotificationCleanupHook()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcleanupRelatedObjects(CustomerModel customer)Cleanup related objects before cleanup item.protected CustomerCouponServicegetCustomerCouponService()protected ModelServicegetModelService()voidsetCustomerCouponService(CustomerCouponService customerCouponService)voidsetModelService(ModelService modelService)
-
-
-
Method Detail
-
cleanupRelatedObjects
public void cleanupRelatedObjects(CustomerModel customer)
Description copied from interface:ItemCleanupHookCleanup related objects before cleanup item.- Specified by:
cleanupRelatedObjectsin interfaceItemCleanupHook<CustomerModel>- Parameters:
customer- its related objects to cleanup
-
getModelService
protected ModelService getModelService()
-
setModelService
public void setModelService(ModelService modelService)
-
getCustomerCouponService
protected CustomerCouponService getCustomerCouponService()
-
setCustomerCouponService
public void setCustomerCouponService(CustomerCouponService customerCouponService)
-
-