Package de.hybris.platform.product.impl
Class ClassAttributeAssignmentStateValidator
java.lang.Object
de.hybris.platform.product.impl.ClassAttributeAssignmentStateValidator
- All Implemented Interfaces:
Interceptor,ValidateInterceptor<ClassAttributeAssignmentModel>
public class ClassAttributeAssignmentStateValidator
extends Object
implements ValidateInterceptor<ClassAttributeAssignmentModel>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(ClassAttributeAssignmentModel assignment, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
ClassAttributeAssignmentStateValidator
public ClassAttributeAssignmentStateValidator()
-
-
Method Details
-
onValidate
public void onValidate(ClassAttributeAssignmentModel assignment, InterceptorContext ctx) throws InterceptorException Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor<ClassAttributeAssignmentModel>- Parameters:
assignment- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-