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