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