Class CodeGenerationConfigurationUsageValidateInterceptor

java.lang.Object
de.hybris.platform.couponservices.interceptor.CodeGenerationConfigurationUsageValidateInterceptor
All Implemented Interfaces:
Interceptor, RemoveInterceptor<CodeGenerationConfigurationModel>

public class CodeGenerationConfigurationUsageValidateInterceptor extends Object implements RemoveInterceptor<CodeGenerationConfigurationModel>
CodeGenerationConfigurationUsageValidateInterceptor validates whether CodeGenerationConfigurationModel is assigned to at least once @{link AbstractCouponModel. If the check is evaluated positively then configuration cannot be removed