Class TmaIdentificationValidateInterceptor

  • All Implemented Interfaces:
    de.hybris.platform.servicelayer.interceptor.Interceptor, de.hybris.platform.servicelayer.interceptor.ValidateInterceptor<TmaIdentificationModel>

    public class TmaIdentificationValidateInterceptor
    extends java.lang.Object
    implements de.hybris.platform.servicelayer.interceptor.ValidateInterceptor<TmaIdentificationModel>
    Interceptor to validate that the identificationNumber of TmaIdentificationModel does not contain any special characters.
    Since:
    1911
    • Constructor Detail

      • TmaIdentificationValidateInterceptor

        public TmaIdentificationValidateInterceptor()
    • Method Detail

      • onValidate

        public void onValidate​(TmaIdentificationModel identificationModel,
                               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<TmaIdentificationModel>
        Throws:
        de.hybris.platform.servicelayer.interceptor.InterceptorException