Class MockValidationService


  • @Deprecated(since="1905",
                forRemoval=true)
    public class MockValidationService
    extends java.lang.Object
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1905 - not used anymore
    Mock validation service.
    • Constructor Summary

      Constructors 
      Constructor Description
      MockValidationService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      com.hybris.cockpitng.labels.LabelService getLabelService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      com.hybris.cockpitng.i18n.CockpitLocaleService getLocaleService()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      protected com.hybris.cockpitng.validation.model.ValidationSeverity getSeverity​(int max)
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      com.hybris.cockpitng.dataaccess.facades.type.TypeFacade getTypeFacade()
      Deprecated, for removal: This API element is subject to removal in a future version.
       
      <T> java.util.List<com.hybris.cockpitng.validation.model.ValidationInfo> validate​(T objectToValidate, com.hybris.cockpitng.validation.ValidationContext validationContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Validates the given object.
      <T> java.util.List<com.hybris.cockpitng.validation.model.ValidationInfo> validate​(T objectToValidate, java.util.Collection<java.lang.String> qualifiers, com.hybris.cockpitng.validation.ValidationContext validationContext)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Validates the given object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MockValidationService

        public MockValidationService()
        Deprecated, for removal: This API element is subject to removal in a future version.
    • Method Detail

      • getTypeFacade

        public com.hybris.cockpitng.dataaccess.facades.type.TypeFacade getTypeFacade()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getLocaleService

        public com.hybris.cockpitng.i18n.CockpitLocaleService getLocaleService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • getLabelService

        public com.hybris.cockpitng.labels.LabelService getLabelService()
        Deprecated, for removal: This API element is subject to removal in a future version.
      • validate

        public <T> java.util.List<com.hybris.cockpitng.validation.model.ValidationInfo> validate​(T objectToValidate,
                                                                                                 java.util.Collection<java.lang.String> qualifiers,
                                                                                                 com.hybris.cockpitng.validation.ValidationContext validationContext)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Validates the given object.
        Type Parameters:
        T - type of the object to validate.
        Parameters:
        objectToValidate - object to validate.
        qualifiers - qualifiers to validate.
        validationContext - validation context.
        Returns:
        a list of validation info (@link ValidationInfo objects.
      • validate

        public <T> java.util.List<com.hybris.cockpitng.validation.model.ValidationInfo> validate​(T objectToValidate,
                                                                                                 com.hybris.cockpitng.validation.ValidationContext validationContext)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Validates the given object.
        Type Parameters:
        T - type of the object to validate.
        Parameters:
        objectToValidate - object to validate.
        validationContext - validation context.
        Returns:
        a list of validation info (@link ValidationInfo objects.
      • getSeverity

        protected com.hybris.cockpitng.validation.model.ValidationSeverity getSeverity​(int max)
        Deprecated, for removal: This API element is subject to removal in a future version.