Class TmaChecklistPolicyStatementValidateInterceptor

java.lang.Object
de.hybris.platform.b2ctelcoservices.interceptors.TmaChecklistPolicyStatementValidateInterceptor
All Implemented Interfaces:
de.hybris.platform.servicelayer.interceptor.Interceptor, de.hybris.platform.servicelayer.interceptor.ValidateInterceptor<TmaChecklistPolicyStatementModel>

public class TmaChecklistPolicyStatementValidateInterceptor extends Object implements de.hybris.platform.servicelayer.interceptor.ValidateInterceptor<TmaChecklistPolicyStatementModel>
Interceptor to validate that no instances of TmaChecklistPolicyStatementModel can be created. Due to backwards compatibility constraints, the TmaChecklistPolicyStatementModel cannot be made abstract and therefore custom interceptor is required.
Since:
1911
  • Constructor Details

    • TmaChecklistPolicyStatementValidateInterceptor

      public TmaChecklistPolicyStatementValidateInterceptor()
  • Method Details

    • onValidate

      public void onValidate(TmaChecklistPolicyStatementModel tmaChecklistPolicyStatement, de.hybris.platform.servicelayer.interceptor.InterceptorContext interceptorContext) throws de.hybris.platform.servicelayer.interceptor.InterceptorException
      Specified by:
      onValidate in interface de.hybris.platform.servicelayer.interceptor.ValidateInterceptor<TmaChecklistPolicyStatementModel>
      Throws:
      de.hybris.platform.servicelayer.interceptor.InterceptorException