Class UsageChargeValidateInterceptor
java.lang.Object
de.hybris.platform.subscriptionservices.interceptor.impl.AbstractParentChildValidateInterceptor
de.hybris.platform.subscriptionservices.interceptor.impl.UsageChargeValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
Interceptor to validate that the
UsageChargeModel's parent objects are marked as modified.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoValidate(Object model, InterceptorContext ctx) This function replaces the onValidate method in sub-classes.Methods inherited from class de.hybris.platform.subscriptionservices.interceptor.impl.AbstractParentChildValidateInterceptor
getModelService, markItemsAsModified, markParentItemsAsModified, onValidate, setModelService
-
Constructor Details
-
UsageChargeValidateInterceptor
public UsageChargeValidateInterceptor()
-
-
Method Details
-
doValidate
public void doValidate(@Nonnull Object model, @Nonnull InterceptorContext ctx) throws InterceptorException Description copied from class:AbstractParentChildValidateInterceptorThis function replaces the onValidate method in sub-classes.- Specified by:
doValidatein classAbstractParentChildValidateInterceptor- Throws:
InterceptorException
-