Class ProductOptionValidator.ItemChoiceValidator
java.lang.Object
com.broadleafcommerce.catalog.service.validation.ProductOptionValidator.ItemChoiceValidator
- Enclosing class:
- ProductOptionValidator
Inner class specifically responsible for validation of
ProductOption.getItemChoice()
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(ItemChoice itemChoice, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
validateCategorySelection
(ItemChoice itemChoice, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
validateCurrency
(ItemChoice itemChoice, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected void
validateItemChoiceSelectionType
(org.springframework.validation.Errors errors) protected void
validateItemChoiceTargetType
(org.springframework.validation.Errors errors) protected void
validateMinAndMaxQuantity
(ItemChoice itemChoice, org.springframework.validation.Errors errors) protected void
validateOverridePrice
(ItemChoice itemChoice, org.springframework.validation.Errors errors) protected void
validatePricingKey
(ItemChoice itemChoice, org.springframework.validation.Errors errors) protected void
validateSpecificSelection
(ItemChoice itemChoice, org.springframework.validation.Errors errors, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
-
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)
-