Class CxDefaultTriggerValidationInterceptor
- java.lang.Object
-
- de.hybris.platform.personalizationservices.trigger.impl.BaseTriggerInterceptor
-
- de.hybris.platform.personalizationservices.trigger.impl.CxDefaultTriggerValidationInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<CxDefaultTriggerModel>
public class CxDefaultTriggerValidationInterceptor extends BaseTriggerInterceptor implements ValidateInterceptor<CxDefaultTriggerModel>
-
-
Constructor Summary
Constructors Constructor Description CxDefaultTriggerValidationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(CxDefaultTriggerModel model, InterceptorContext context)Called in themodelService.saveAll()method.-
Methods inherited from class de.hybris.platform.personalizationservices.trigger.impl.BaseTriggerInterceptor
isTriggerUnique
-
-
-
-
Method Detail
-
onValidate
public void onValidate(CxDefaultTriggerModel model, InterceptorContext context) throws InterceptorException
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<CxDefaultTriggerModel>- Parameters:
model- the model which values has to be validatedcontext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
-