Class CxSegmentTriggerValidationInterceptor
- java.lang.Object
-
- de.hybris.platform.personalizationservices.trigger.impl.BaseTriggerInterceptor
-
- de.hybris.platform.personalizationservices.trigger.impl.CxSegmentTriggerValidationInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<CxSegmentTriggerModel>
public class CxSegmentTriggerValidationInterceptor extends BaseTriggerInterceptor implements ValidateInterceptor<CxSegmentTriggerModel>
-
-
Constructor Summary
Constructors Constructor Description CxSegmentTriggerValidationInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(CxSegmentTriggerModel 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(CxSegmentTriggerModel 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<CxSegmentTriggerModel>- Parameters:
model- the model which values has to be validatedcontext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
-