Class BulkUpdateRequestValidator

java.lang.Object
com.broadleafcommerce.bulk.service.BulkUpdateRequestValidator

public class BulkUpdateRequestValidator extends Object
Author:
Samarth Dhruva (samarthd)
See Also:
  • Constructor Details

    • BulkUpdateRequestValidator

      public BulkUpdateRequestValidator()
  • Method Details

    • validate

      public void validate(BulkUpdateRequest request, org.springframework.validation.Errors errors)
      Validates the fields of the request and registers errors in errors.
      Parameters:
      request - the bulk update request to validate
      errors - holder for validation context information. When adding field validation errors, the field names should be in the context of the request.
    • validateName

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

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

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