Package org.broadleafcommerce.openadmin.server.service.persistence.validation

Interface Summary
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 Summary
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.
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.
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 © 2013. All Rights Reserved.