Class ChargeEntryValidateInterceptor
java.lang.Object
de.hybris.platform.subscriptionservices.interceptor.impl.AbstractParentChildValidateInterceptor
de.hybris.platform.subscriptionservices.interceptor.impl.ChargeEntryValidateInterceptor
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
Interceptor to validate ChargeEntryModel.
- the
ChargeEntryModel's parent objects are marked as modified - the price of the
ChargeEntryModelis not negative
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoValidate(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
-
ChargeEntryValidateInterceptor
public ChargeEntryValidateInterceptor()
-
-
Method Details
-
doValidate
protected 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
-