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