| Interface | Description |
|---|---|
| EntityValidatorService |
Validates all of the populated properties for entities
|
| GlobalPropertyValidator |
Analagous to
PropertyValidator except this does not attempt to use any ValidationConfiguration from an
AdminPresentation annotation. |
| PopulateValueRequestValidator |
This is injected into the
BasicPersistenceModule and invoked prior to any attempts to actually populate values
from the Entity DTO representation into the Hibernate entity using the FieldPersistenceProvider paradigm. |
| PropertyValidator |
Interface for performing validation on a property.
|
| Class | Description |
|---|---|
| BasicFieldTypeValidator |
Validates that values are actually of their required types before trying to populate it.
|
| BeanValidationEntityValidatorServiceImpl |
Implementation of the
EntityValidatorService that runs entities through JSR-303 validations. |
| EntityValidatorServiceImpl |
This implementation validates each
Property from the given Entity according to the
ValidationConfigurations associated with it. |
| FieldLengthValidator |
Ensures that field values submitted in the admin are less than or equal to the length specified in the metadata
|
| MatchesFieldValidator |
Checks for equality between this field and a configured 'otherField'
|
| PropertyValidationResult |
DTO representing a boolean whether or not it passed validation and String error message.
|
| RegexPropertyValidator |
Validates a field against a configured 'regularExpression' item
|
| RequiredPropertyValidator |
Ensures that every property that is required from
BasicFieldMetadata.getRequired() has a non-empty value being
set. |
| UriPropertyValidator |
Validates a field as being a valid URI to ensure compatibility with Broadleaf handlers including
PageHandler, ProductHandler, and CategoryHandlers.
|
| ValidationConfigurationBasedPropertyValidator |
Provides a default validate method that uses the validation configuration map to pull out the error key and pre-populate
the
PropertyValidationResult based on ConfigurationItem.ERROR_MESSAGE. |
Copyright © 2015. All Rights Reserved.