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