Class IntegrationObjectClassAttributeReadMethodValidateInterceptor
java.lang.Object
de.hybris.platform.integrationservices.interceptor.IntegrationObjectClassAttributeReadMethodValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<IntegrationObjectClassAttributeModel>
public class IntegrationObjectClassAttributeReadMethodValidateInterceptor
extends Object
implements ValidateInterceptor<IntegrationObjectClassAttributeModel>
Validates the
IntegrationObjectClassAttributeModel readMethod and that the
returnIntegrationObjectClass does not conflict with the class attribute's propertyType.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(IntegrationObjectClassAttributeModel attribute, InterceptorContext interceptorContext) Validates the context attribute model and throws exceptions when something is incorrectly configured in the attribute.
-
Constructor Details
-
IntegrationObjectClassAttributeReadMethodValidateInterceptor
public IntegrationObjectClassAttributeReadMethodValidateInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(IntegrationObjectClassAttributeModel attribute, InterceptorContext interceptorContext) throws InterceptorException Validates the context attribute model and throws exceptions when something is incorrectly configured in the attribute.- Specified by:
onValidatein interfaceValidateInterceptor<IntegrationObjectClassAttributeModel>- Parameters:
attribute- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- when configuration problems found
-