Class ProductOptionValidator.AttributeChoiceValidator

java.lang.Object
com.broadleafcommerce.catalog.service.validation.ProductOptionValidator.AttributeChoiceValidator
Enclosing class:
ProductOptionValidator

protected class ProductOptionValidator.AttributeChoiceValidator extends Object
Inner class specifically responsible for validation of ProductOption.getAttributeChoice().
  • Constructor Details

    • AttributeChoiceValidator

      protected AttributeChoiceValidator()
  • Method Details

    • validate

      public void validate(String productOptionType, AttributeChoice attributeChoice, org.springframework.validation.Errors errors)
    • validateAttributeName

      protected void validateAttributeName(org.springframework.validation.Errors errors)
    • validateType

      protected void validateType(org.springframework.validation.Errors errors)
    • validateValidationFields

      protected void validateValidationFields(AttributeChoice attributeChoice, org.springframework.validation.Errors errors)
    • validateAllowedValues

      protected void validateAllowedValues(String productOptionType, AttributeChoice attributeChoice, org.springframework.validation.Errors errors)
    • validateAttributeChoiceValue

      protected void validateAttributeChoiceValue(org.springframework.validation.Errors errors)