public class CodeGenerationConfigurationUsageValidateInterceptor extends java.lang.Object implements RemoveInterceptor<CodeGenerationConfigurationModel>
CodeGenerationConfigurationModel is
assigned to at least once @{link AbstractCouponModel. If the check is
evaluated positively then configuration cannot be removed| Constructor and Description |
|---|
CodeGenerationConfigurationUsageValidateInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected CouponDao |
getCouponDao() |
protected L10NService |
getL10NService() |
void |
onRemove(CodeGenerationConfigurationModel configuration,
InterceptorContext ctx)
Called in the
modelService.removeAll() method. |
void |
setCouponDao(CouponDao couponDao) |
void |
setL10NService(L10NService l10NService) |
public CodeGenerationConfigurationUsageValidateInterceptor()
public void onRemove(CodeGenerationConfigurationModel configuration, InterceptorContext ctx) throws InterceptorException
RemoveInterceptormodelService.removeAll() method.onRemove in interface RemoveInterceptor<CodeGenerationConfigurationModel>configuration - the model which should be removedctx - the InterceptorContextInterceptorException - if the remove reports an errorprotected CouponDao getCouponDao()
public void setCouponDao(CouponDao couponDao)
protected L10NService getL10NService()
public void setL10NService(L10NService l10NService)
Copyright © 2018 SAP SE. All Rights Reserved.