Class PmCreateIndividualValidator

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

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

    • PmCreateIndividualValidator

      public PmCreateIndividualValidator(PmGenericService pmGenericService)
      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 Individual has a valid id, familyName and givenName
      Specified by:
      validate in interface org.springframework.validation.Validator
      Parameters:
      o - the individual party
      errors - the validation errors
    • getPmGenericService

      protected PmGenericService getPmGenericService()
      Deprecated.