Class IntegrationObjectClassTypeValidateInterceptor
java.lang.Object
de.hybris.platform.integrationservices.interceptor.IntegrationObjectClassTypeValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<IntegrationObjectClassModel>
public class IntegrationObjectClassTypeValidateInterceptor
extends Object
implements ValidateInterceptor<IntegrationObjectClassModel>
Validates the
IntegrationObjectClassModel type is not a primitive type.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(IntegrationObjectClassModel ioClass, InterceptorContext interceptorContext) Validates the context class model and throws exceptions when the type is a primitive type.
-
Constructor Details
-
IntegrationObjectClassTypeValidateInterceptor
public IntegrationObjectClassTypeValidateInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(IntegrationObjectClassModel ioClass, InterceptorContext interceptorContext) throws InterceptorException Validates the context class model and throws exceptions when the type is a primitive type.- Specified by:
onValidatein interfaceValidateInterceptor<IntegrationObjectClassModel>- Parameters:
ioClass- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- when configuration problems found
-