Class ProductOptionValidator.ItemChoiceValidator

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

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

    • ItemChoiceValidator

      protected ItemChoiceValidator()
  • Method Details

    • validate

      public void validate(ItemChoice itemChoice, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • validateCurrency

      protected void validateCurrency(ItemChoice itemChoice, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • validateItemChoiceTargetType

      protected void validateItemChoiceTargetType(org.springframework.validation.Errors errors)
    • validateItemChoiceSelectionType

      protected void validateItemChoiceSelectionType(org.springframework.validation.Errors errors)
    • validateMinAndMaxQuantity

      protected void validateMinAndMaxQuantity(ItemChoice itemChoice, org.springframework.validation.Errors errors)
    • validateOverridePrice

      protected void validateOverridePrice(ItemChoice itemChoice, org.springframework.validation.Errors errors)
    • validatePricingKey

      protected void validatePricingKey(ItemChoice itemChoice, org.springframework.validation.Errors errors)
    • validateCategorySelection

      protected void validateCategorySelection(ItemChoice itemChoice, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    • validateSpecificSelection

      protected void validateSpecificSelection(ItemChoice itemChoice, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)