Class SpiCreateProductValidator

java.lang.Object
de.hybris.platform.subscribedproducttmfwebservices.v1.validators.SpiCreateProductValidator
All Implemented Interfaces:
org.springframework.validation.Validator

@Deprecated(since="2208") public class SpiCreateProductValidator extends Object implements org.springframework.validation.Validator
Deprecated.
2208
Validator for POST /product API.
Since:
2111.
  • Constructor Details

    • SpiCreateProductValidator

      public SpiCreateProductValidator(SpiGenericService spiGenericService)
      Deprecated.
  • Method Details

    • supports

      public boolean supports(Class<?> aClass)
      Deprecated.
      Specified by:
      supports in interface org.springframework.validation.Validator
    • validate

      public void validate(Object o, org.springframework.validation.Errors errors)
      Deprecated.
      Checks that the Product has valid id, status and specification.
      Specified by:
      validate in interface org.springframework.validation.Validator
      Parameters:
      o - the subscribed product
      errors - the errors
    • getSpiGenericService

      protected SpiGenericService getSpiGenericService()
      Deprecated.