public class FlashBuyCouponCleanUpInterceptor extends java.lang.Object implements RemoveInterceptor<FlashBuyCouponModel>
| Constructor and Description |
|---|
FlashBuyCouponCleanUpInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected FlashBuyService |
getFlashBuyService() |
void |
onRemove(FlashBuyCouponModel coupon,
InterceptorContext ctx)
Deletes the cronjob after removing a flash buy coupon
|
void |
setFlashBuyService(FlashBuyService flashBuyService) |
public void onRemove(FlashBuyCouponModel coupon, InterceptorContext ctx) throws InterceptorException
onRemove in interface RemoveInterceptor<FlashBuyCouponModel>coupon - flash buy couponctx - the contextInterceptorException - if the remove reports an errorprotected FlashBuyService getFlashBuyService()
public void setFlashBuyService(FlashBuyService flashBuyService)
Copyright © 2018 SAP SE. All Rights Reserved.