Class ProductEntitlementValidateInterceptor
- java.lang.Object
-
- de.hybris.platform.entitlementservices.interceptor.impl.AbstractParentChildValidateInterceptor
-
- de.hybris.platform.entitlementservices.interceptor.impl.ProductEntitlementValidateInterceptor
-
- All Implemented Interfaces:
Interceptor,ValidateInterceptor
public class ProductEntitlementValidateInterceptor extends AbstractParentChildValidateInterceptor
Interceptor to validate that- a
ProductEntitlementModelis assigned to aProductModelonly once - the
ProductEntitlementModel's parent objects are marked as modified
-
-
Constructor Summary
Constructors Constructor Description ProductEntitlementValidateInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoValidate(java.lang.Object model, InterceptorContext ctx)This function replaces the onValidate method in sub-classes-
Methods inherited from class de.hybris.platform.entitlementservices.interceptor.impl.AbstractParentChildValidateInterceptor
getModelService, markItemsAsModified, markParentItemsAsModified, onValidate, setModelService
-
-
-
-
Method Detail
-
doValidate
public void doValidate(java.lang.Object model, InterceptorContext ctx) throws InterceptorExceptionDescription copied from class:AbstractParentChildValidateInterceptorThis function replaces the onValidate method in sub-classes- Specified by:
doValidatein classAbstractParentChildValidateInterceptor- Throws:
InterceptorException
-
-