Class TmaTypeValidatorHelper

java.lang.Object
de.hybris.platform.b2ctelcoservices.constraints.TmaTypeValidatorHelper
Direct Known Subclasses:
AverageServiceUsageUnitValidator, BasicConfigurableGuidedSellingValidator

public class TmaTypeValidatorHelper extends Object
A helper class for validators to construct multiple error messages using same validator class.
Since:
18.05
  • Constructor Details

    • TmaTypeValidatorHelper

      public TmaTypeValidatorHelper()
  • Method Details

    • buildErrorMessage

      protected void buildErrorMessage(@Nonnull javax.validation.ConstraintValidatorContext context, String template, Object... args)
    • getLocalizedString

      protected String getLocalizedString(String key, Locale locale)
    • getCurrentLocale

      protected Locale getCurrentLocale()
    • getI18nService

      protected de.hybris.platform.servicelayer.i18n.I18NService getI18nService()
    • getResourceBundleProvider

      protected de.hybris.platform.validation.messages.ResourceBundleProvider getResourceBundleProvider()