Class ClassificationLocalizedReferenceValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.integrationservices.interceptor.ClassificationLocalizedReferenceValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<IntegrationObjectItemClassificationAttributeModel>
public final class ClassificationLocalizedReferenceValidateInterceptor extends java.lang.Object implements ValidateInterceptor<IntegrationObjectItemClassificationAttributeModel>
Interceptor to validate the classification attribute'sClassAttributeAssignmentModeldoes not havereferenceas the attribute type andlocalizedset to true.
-
-
Constructor Summary
Constructors Constructor Description ClassificationLocalizedReferenceValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonValidate(IntegrationObjectItemClassificationAttributeModel attributeModel, InterceptorContext interceptorContext)Called in themodelService.saveAll()method.
-
-
-
Method Detail
-
onValidate
public void onValidate(IntegrationObjectItemClassificationAttributeModel 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<IntegrationObjectItemClassificationAttributeModel>- Parameters:
attributeModel- the model which values has to be validatedinterceptorContext- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-
-