Modifier and Type | Method and Description |
---|---|
ValidationResult.ErrorLevel |
LayoutController.checkForErrors(List<ValidationResultInfo> list)
Check to see if the list of validation results have an error.
|
ValidationResult.ErrorLevel |
CanProcessValidationResults.processValidationResults(FieldDescriptor fd,
List<ValidationResultInfo> results) |
ValidationResult.ErrorLevel |
CanProcessValidationResults.processValidationResults(FieldDescriptor fd,
List<ValidationResultInfo> results,
boolean clearErrors) |
Modifier and Type | Method and Description |
---|---|
ValidationResult.ErrorLevel |
Section.processValidationResults(List<ValidationResultInfo> results) |
ValidationResult.ErrorLevel |
BaseSection.processValidationResults(List<ValidationResultInfo> results)
Same as processValidationResults(results, true)
|
ValidationResult.ErrorLevel |
Section.processValidationResults(List<ValidationResultInfo> results,
boolean clearErrors) |
ValidationResult.ErrorLevel |
BaseSection.processValidationResults(List<ValidationResultInfo> results,
boolean clearErrors)
Processes the validation results passed in and displays the appropriate message on the screen next
to the corresponding field or section.
|
Modifier and Type | Method and Description |
---|---|
ValidationResult.ErrorLevel |
KSItemLabel.processValidationResult(ValidationResultInfo vr,
String fieldName)
Processes a validation result and adds an appropriate message, if needed
|
Modifier and Type | Method and Description |
---|---|
ValidationResult.ErrorLevel |
ValidationProcessable.processValidationResult(ValidationResultInfo vr) |
ValidationResult.ErrorLevel |
FieldElement.processValidationResult(ValidationResultInfo vr)
Processes a validation result and adds an appropriate message, if needed
|
ValidationResult.ErrorLevel |
ValidationProcessable.processValidationResult(ValidationResultInfo vr,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
ValidationResult.ErrorLevel |
KSSelectedList.processValidationResult(ValidationResultInfo vr) |
ValidationResult.ErrorLevel |
KSSelectedList.processValidationResult(ValidationResultInfo vr,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
ValidationResult.ErrorLevel |
SummaryTableSection.processValidationResults(List<ValidationResultInfo> results) |
ValidationResult.ErrorLevel |
SummaryTableSection.processValidationResults(List<ValidationResultInfo> results,
boolean clearErrors) |
Modifier and Type | Method and Description |
---|---|
ValidationResult.ErrorLevel |
LOBuilder.processValidationResults(FieldDescriptor fd,
List<ValidationResultInfo> results) |
ValidationResult.ErrorLevel |
LOBuilder.processValidationResults(FieldDescriptor fd,
List<ValidationResultInfo> results,
boolean clearErrors) |
Modifier and Type | Field and Description |
---|---|
protected ValidationResult.ErrorLevel |
RequiredConstraint.errorLevel
Deprecated.
|
protected ValidationResult.ErrorLevel |
LookupConstraint.errorLevel
Deprecated.
|
protected ValidationResult.ErrorLevel |
Constraint.errorLevel
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ValidationResult.ErrorLevel |
RequiredConstraint.getErrorLevel()
Deprecated.
|
ValidationResult.ErrorLevel |
MustOccurConstraint.getErrorLevel()
Deprecated.
|
ValidationResult.ErrorLevel |
LookupConstraint.getErrorLevel()
Deprecated.
|
ValidationResult.ErrorLevel |
Constraint.getErrorLevel()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RequiredConstraint.setErrorLevel(ValidationResult.ErrorLevel errorLevel)
Deprecated.
|
void |
MustOccurConstraint.setErrorLevel(ValidationResult.ErrorLevel errorLevel)
Deprecated.
|
void |
LookupConstraint.setErrorLevel(ValidationResult.ErrorLevel errorLevel)
Deprecated.
|
void |
Constraint.setErrorLevel(ValidationResult.ErrorLevel errorLevel)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ValidationResult.ErrorLevel |
ValidationResultInfo.getErrorLevel()
Deprecated.
|
ValidationResult.ErrorLevel |
ValidationResultInfo.getLevel()
convenience method carried over from R1
Use getErrorLevel () instead
|
Modifier and Type | Method and Description |
---|---|
static boolean |
ValidationResultInfo.hasValidationErrors(List<ValidationResultInfo> validationResults,
ValidationResult.ErrorLevel threshold,
List<String> ignoreFields) |
void |
ValidationResultInfo.setErrorLevel(ValidationResult.ErrorLevel errorLevel) |
void |
ValidationResultInfo.setLevel(ValidationResult.ErrorLevel level) |
Modifier and Type | Method and Description |
---|---|
static ValidationResult.ErrorLevel |
ValidationResult.ErrorLevel.fromInt(int level) |
ValidationResult.ErrorLevel |
ValidationResult.getLevel()
Indicates the severity of the validation result.
|
static ValidationResult.ErrorLevel |
ValidationResult.ErrorLevel.max(ValidationResult.ErrorLevel e1,
ValidationResult.ErrorLevel e2) |
static ValidationResult.ErrorLevel |
ValidationResult.ErrorLevel.min(ValidationResult.ErrorLevel e1,
ValidationResult.ErrorLevel e2) |
static ValidationResult.ErrorLevel |
ValidationResult.ErrorLevel.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValidationResult.ErrorLevel[] |
ValidationResult.ErrorLevel.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static ValidationResult.ErrorLevel |
ValidationResult.ErrorLevel.max(ValidationResult.ErrorLevel e1,
ValidationResult.ErrorLevel e2) |
static ValidationResult.ErrorLevel |
ValidationResult.ErrorLevel.min(ValidationResult.ErrorLevel e1,
ValidationResult.ErrorLevel e2) |
Modifier and Type | Method and Description |
---|---|
protected void |
DefaultValidatorImpl.addCrossFieldWarning(List<ValidationResultInfo> valResults,
String crossFieldPath,
String message,
ValidationResult.ErrorLevel errorLevel) |
protected void |
DefaultValidatorImpl.processCrossFieldWarning(List<ValidationResultInfo> valResults,
CaseConstraint crossConstraint,
Constraint constraint,
Object value,
ValidationResult.ErrorLevel errorLevel,
ContextInfo contextInfo)
This adds a warning on the related field when a processed case-constraint results in a warning
|
protected void |
DefaultValidatorImpl.processCrossFieldWarning(List<ValidationResultInfo> valResults,
LookupConstraint lookupConstraint,
ValidationResult.ErrorLevel errorLevel,
ContextInfo contextInfo)
This adds a warning on the related field when a processed lookup-constraint results in a warning
|
protected void |
DefaultValidatorImpl.processCrossFieldWarning(List<ValidationResultInfo> valResults,
RequiredConstraint requiredConstraint,
ValidationResult.ErrorLevel errorLevel,
String field,
ContextInfo contextInfo)
This adds a warning on the related field when a processed case-constraint results in a warning
|
Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.