Class IntegrationObjectItemVirtualAttributeModelInterceptor
java.lang.Object
de.hybris.platform.integrationservices.interceptor.IntegrationObjectItemVirtualAttributeModelInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<IntegrationObjectItemVirtualAttributeModel>
public class IntegrationObjectItemVirtualAttributeModelInterceptor
extends Object
implements ValidateInterceptor<IntegrationObjectItemVirtualAttributeModel>
Interceptor to validate the type
IntegrationObjectItemVirtualAttributeModel-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(IntegrationObjectItemVirtualAttributeModel attributeModel, InterceptorContext interceptorContext) Called in themodelService.saveAll()method.
-
Constructor Details
-
IntegrationObjectItemVirtualAttributeModelInterceptor
public IntegrationObjectItemVirtualAttributeModelInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(IntegrationObjectItemVirtualAttributeModel 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<IntegrationObjectItemVirtualAttributeModel>- Parameters:
attributeModel- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-