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 Object
implements ValidateInterceptor<Y2YColumnDefinitionModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(Y2YColumnDefinitionModel model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
Y2YColumnDefinitionValidateInterceptor
public Y2YColumnDefinitionValidateInterceptor()
-
-
Method Details
-
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.
-