Class ChargeEntryValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.subscriptionservices.interceptor.impl.AbstractParentChildValidateInterceptor
-
- de.hybris.platform.subscriptionservices.interceptor.impl.ChargeEntryValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
public class ChargeEntryValidateInterceptor extends AbstractParentChildValidateInterceptor
Interceptor to validate ChargeEntryModel.- the
ChargeEntryModel's parent objects are marked as modified - the price of the
ChargeEntryModelis not negative
-
-
Constructor Summary
Constructors Constructor Description ChargeEntryValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoValidate(java.lang.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
-
-
-
-
Method Detail
-
doValidate
protected void doValidate(@Nonnull java.lang.Object model, @Nonnull InterceptorContext ctx) throws InterceptorExceptionDescription copied from class:AbstractParentChildValidateInterceptorThis function replaces the onValidate method in sub-classes.- Specified by:
doValidatein classAbstractParentChildValidateInterceptor- Throws:
InterceptorException
-
-