@Component(value="blRuleFieldValidator") public class RuleFieldValidator extends Object implements PopulateValueRequestValidator
RuleFieldPersistenceProvider.| Modifier and Type | Field and Description |
|---|---|
protected RuleFieldExtractionUtility |
ruleFieldExtractionUtility |
protected SandBoxHelper |
sandBoxHelper |
| Constructor and Description |
|---|
RuleFieldValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canHandleValidation(PopulateValueRequest populateValueRequest) |
protected String |
getMvelParsingErrorMesage(DataWrapper dw,
MVELTranslationException e) |
int |
getOrder() |
PropertyValidationResult |
validate(PopulateValueRequest populateValueRequest,
Serializable instance)
Validates a population request prior to invoking any
FieldPersistenceProviders. |
protected RuleFieldExtractionUtility ruleFieldExtractionUtility
protected SandBoxHelper sandBoxHelper
public PropertyValidationResult validate(PopulateValueRequest populateValueRequest, Serializable instance)
PopulateValueRequestValidatorFieldPersistenceProviders. If no validation could be
performed for the given PopulateValueRequest then return true to let it pass on to a different
PopulateValueRequestValidator or on to a FieldPersistenceProvider.validate in interface PopulateValueRequestValidatorpopulateValueRequest - the PopulateValueRequest that should be validatedinstance - the Hibernate entity that will attempt to be populatedPopulateValueRequest failed validation. In this case, the request should not be passed
to any FieldPersistenceProviders.protected String getMvelParsingErrorMesage(DataWrapper dw, MVELTranslationException e)
protected boolean canHandleValidation(PopulateValueRequest populateValueRequest)
public int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2015. All rights reserved.