public class MultiCodeCouponInitDefaultsInterceptor extends java.lang.Object implements InitDefaultsInterceptor<MultiCodeCouponModel>
| Constructor and Description |
|---|
MultiCodeCouponInitDefaultsInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected CouponCodeGenerationService |
getCouponCodeGenerationService() |
void |
onInitDefaults(MultiCodeCouponModel model,
InterceptorContext ctx)
Called by
ModelService.initDefaults(Object) after instantiate a new model. |
void |
setCouponCodeGenerationService(CouponCodeGenerationService couponCodeGenerationService) |
public MultiCodeCouponInitDefaultsInterceptor()
public void onInitDefaults(MultiCodeCouponModel model, InterceptorContext ctx) throws InterceptorException
InitDefaultsInterceptorModelService.initDefaults(Object) after instantiate a new model.onInitDefaults in interface InitDefaultsInterceptor<MultiCodeCouponModel>model - the model which values should be set to the default valuesctx - the InterceptorContextInterceptorException - if the loading of the default value reports an error.protected CouponCodeGenerationService getCouponCodeGenerationService()
public void setCouponCodeGenerationService(CouponCodeGenerationService couponCodeGenerationService)
Copyright © 2018 SAP SE. All Rights Reserved.