Class MockValidationService

java.lang.Object
com.hybris.backoffice.cockpitng.dataaccess.facades.object.MockValidationService

@Deprecated(since="1905", forRemoval=true) public class MockValidationService extends 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
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.hybris.cockpitng.labels.LabelService
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    com.hybris.cockpitng.i18n.CockpitLocaleService
    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
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    <T> 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> List<com.hybris.cockpitng.validation.model.ValidationInfo>
    validate(T objectToValidate, Collection<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 Details

    • MockValidationService

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

    • 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> List<com.hybris.cockpitng.validation.model.ValidationInfo> validate(T objectToValidate, Collection<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> 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.