Class BackInStockValidator

java.lang.Object
de.hybris.platform.customerinterestsoccaddon.validation.BackInStockValidator
All Implemented Interfaces:
org.springframework.validation.Validator

public class BackInStockValidator extends Object implements org.springframework.validation.Validator
Validate the product's stock level when the notification type is back in stock.
  • Constructor Details

    • BackInStockValidator

      public BackInStockValidator(ProductFacade productFacade)
  • 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
    • getProductFacade

      public ProductFacade getProductFacade()
    • setProductFacade

      public void setProductFacade(ProductFacade productFacade)