Class TmaPlaceValidator

java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.validators.TmaPlaceValidator
All Implemented Interfaces:
org.springframework.validation.Validator

public class TmaPlaceValidator extends Object implements org.springframework.validation.Validator
Validator for Place.
Since:
1911
  • Constructor Details

    • TmaPlaceValidator

      public TmaPlaceValidator()
  • Method Details

    • supports

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

      public void validate(Object object, org.springframework.validation.Errors errors)
      Specified by:
      validate in interface org.springframework.validation.Validator
    • validateRole

      protected void validateRole(Place place, org.springframework.validation.Errors errors)
      Checks that the place has a role and that role is of type TmaPlaceRoleType.
      Parameters:
      place - the place
      errors - the errors found