| Package | Description |
|---|---|
| org.kuali.rice.krad.datadictionary.validation.processor | |
| org.kuali.rice.krad.service |
| Modifier and Type | Method and Description |
|---|---|
DictionaryValidationResult |
DictionaryValidationService.validate(AttributeValueReader valueReader,
boolean doOptionalProcessing)
Same as other validate method except, allows you to provide the attributeValueReader directly for evaluation
|
DictionaryValidationResult |
DictionaryValidationService.validate(Object object)
Validates an object using its class name as the entry name to look up its metadata in the dictionary.
|
DictionaryValidationResult |
DictionaryValidationService.validate(Object object,
boolean doOptionalProcessing)
Validates an object using its class name as the entry name to look up its metadata in the dictionary.
|
DictionaryValidationResult |
DictionaryValidationService.validate(Object object,
String entryName)
Validates an object using the passed entry name to look up metadata in the dictionary
|
DictionaryValidationResult |
DictionaryValidationService.validate(Object object,
String entryName,
boolean doOptionalProcessing)
Same as
DictionaryValidationService.validate(java.lang.Object, java.lang.String) except that it provides a boolean parameter for
the
calling method to choose whether to do optional processing (generally to check if blank/empty values are
required
or not). |
DictionaryValidationResult |
DictionaryValidationService.validate(Object object,
String entryName,
DataDictionaryEntry entry,
boolean doOptionalProcessing)
Same as {@link DictionaryValidationService#validate(Object, String, boolean) except that it provides an explicit
data dictionary
entry to use for the purpose of validation.
|
DictionaryValidationResult |
DictionaryValidationService.validate(Object object,
String entryName,
String attributeName)
Validates a single attribute on the passed object using the passed entry name to look up
metadata in the dictionary.
|
DictionaryValidationResult |
DictionaryValidationService.validate(Object object,
String entryName,
String attributeName,
boolean doOptionalProcessing)
Same as
DictionaryValidationService.validate(Object, String, String) except that it provides a boolean parameter for the
calling method to choose whether to do optional processing (generally to check if blank/empty values are
required
or not). |
DictionaryValidationResult |
ViewValidationService.validateView(ViewModel model)
This is the main validation method that should be used when validating Views
Validates the view based on the model passed in, this will correctly use previousView by default
as it automatically contains the generated data the validation requires.
|
DictionaryValidationResult |
ViewValidationService.validateView(View view,
ViewModel model)
Additional validation method when you want to explicitly define the View being validated.
|
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.