Class PickExactlyNBundleSelectionCriteriaValidateInterceptor
java.lang.Object
de.hybris.platform.configurablebundleservices.interceptor.impl.PickExactlyNBundleSelectionCriteriaValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
public class PickExactlyNBundleSelectionCriteriaValidateInterceptor
extends Object
implements ValidateInterceptor
Validate that the selection criteria has at least 1 selection
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
PickExactlyNBundleSelectionCriteriaValidateInterceptor
public PickExactlyNBundleSelectionCriteriaValidateInterceptor()
-
-
Method Details
-
onValidate
Description copied from interface:ValidateInterceptorCalled in themodelService.saveAll()method. Validates the values of the given model.- Specified by:
onValidatein interfaceValidateInterceptor- Parameters:
model- the model which values has to be validatedctx- theInterceptorContext- Throws:
InterceptorException- if any values of the model are not valid.
-