| Package | Description |
|---|---|
| zen.business | |
| zen.common | |
| zen.validation | |
| zen.validation.interfaces |
| Modifier and Type | Class and Description |
|---|---|
class |
BusinessError |
class |
BusinessMessage |
| Modifier and Type | Class and Description |
|---|---|
class |
Error |
| Modifier and Type | Method and Description |
|---|---|
List<Message> |
AbstractResponse.getErrors() |
List<Message> |
AbstractResponse.getMessages() |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractResponse.addMessage(Message message) |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractResponse.addMessages(List<Message> messages) |
| Modifier and Type | Method and Description |
|---|---|
static List<Message> |
Validator.validate(String application,
Object object)
This method takes the application name as a string argument, and the
Object that the validations will be running against.
|
static List<Message> |
Validator.validate(String application,
String optkey,
String validationSet,
Object object)
This method takes the application name, optional key, optional validation
set, the Object that the validations will be running against.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
Validator.processDefinitions(Object object,
ValidationMapping mapping,
List<ValidationDefinition> definitions,
List<Message> messages,
ValidationDefinition parentDefinition)
Processes all validations for s specific mapping and validation set.
|
| Modifier and Type | Method and Description |
|---|---|
List<Message> |
IValidateCommand.execute(Object pojo)
Call Validator.validate(app, optkey, set, pojo) from this method.
|
Copyright © 2012. All Rights Reserved.