Class PrCreatePartyRoleValidator

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

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

    • PrCreatePartyRoleValidator

      public PrCreatePartyRoleValidator(PrGenericService prGenericService)
      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.
      Verifies that the PartyRole has valid id and name.
      Specified by:
      validate in interface org.springframework.validation.Validator
      Parameters:
      o - the partyRole
      errors - the validation errors
    • getPrGenericService

      protected PrGenericService getPrGenericService()
      Deprecated.