Class TierUsageChargeEntryValidateInterceptor
java.lang.Object
de.hybris.platform.subscriptionservices.interceptor.impl.TierUsageChargeEntryValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
Interceptor to validate that the tier start of a
TierUsageChargeEntryModel instance is less that or equal to
its tier end.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonValidate(Object model, InterceptorContext ctx) Called in themodelService.saveAll()method.
-
Constructor Details
-
TierUsageChargeEntryValidateInterceptor
public TierUsageChargeEntryValidateInterceptor()
-
-
Method Details
-
onValidate
public void onValidate(@Nonnull Object model, @Nonnull InterceptorContext ctx) throws InterceptorException 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.
-