Class TmaFixedBpoValidateInterceptor
java.lang.Object
de.hybris.platform.b2ctelcoservices.interceptors.TmaFixedBpoValidateInterceptor
- All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor,de.hybris.platform.servicelayer.interceptor.ValidateInterceptor<TmaFixedBundledProductOfferingModel>
public class TmaFixedBpoValidateInterceptor
extends Object
implements de.hybris.platform.servicelayer.interceptor.ValidateInterceptor<TmaFixedBundledProductOfferingModel>
Interceptor to validate the attributes configured for a
TmaFixedBundledProductOfferingModel.- Since:
- 2105
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TmaPoServicevoidonValidate(TmaFixedBundledProductOfferingModel fixedBundledProductOfferingModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext interceptorContext) protected voidvalidateChildren(TmaFixedBundledProductOfferingModel fixedBundledProductOfferingModel) Validates that the children are properly set forTmaFixedBundledProductOfferingModel.
-
Constructor Details
-
TmaFixedBpoValidateInterceptor
-
-
Method Details
-
onValidate
public void onValidate(TmaFixedBundledProductOfferingModel fixedBundledProductOfferingModel, de.hybris.platform.servicelayer.interceptor.InterceptorContext interceptorContext) throws de.hybris.platform.servicelayer.interceptor.InterceptorException - Specified by:
onValidatein interfacede.hybris.platform.servicelayer.interceptor.ValidateInterceptor<TmaFixedBundledProductOfferingModel>- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException
-
validateChildren
protected void validateChildren(TmaFixedBundledProductOfferingModel fixedBundledProductOfferingModel) throws de.hybris.platform.servicelayer.interceptor.InterceptorException Validates that the children are properly set forTmaFixedBundledProductOfferingModel.- Parameters:
fixedBundledProductOfferingModel- The fixed bundled product offering- Throws:
de.hybris.platform.servicelayer.interceptor.InterceptorException- In case the children are not valid
-
getPoService
-