Class IntegrationObjectItemItemTypeMatchValidateInterceptor
java.lang.Object
de.hybris.platform.integrationservices.interceptor.IntegrationObjectItemItemTypeMatchValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<IntegrationObjectItemModel>
public class IntegrationObjectItemItemTypeMatchValidateInterceptor
extends Object
implements ValidateInterceptor<IntegrationObjectItemModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(IntegrationObjectItemModel itemModel, InterceptorContext interceptorContext) Called in themodelService.saveAll()method.
-
Constructor Details
-
IntegrationObjectItemItemTypeMatchValidateInterceptor
public IntegrationObjectItemItemTypeMatchValidateInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(IntegrationObjectItemModel itemModel, InterceptorContext interceptorContext) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<IntegrationObjectItemModel>- Parameters:
itemModel- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-