Modifier and Type | Method and Description |
---|---|
java.util.List<Message> |
Validator.getErrors() |
Modifier and Type | Method and Description |
---|---|
void |
Validator.add(Message message) |
Modifier and Type | Method and Description |
---|---|
void |
Validator.addAll(java.util.Collection<? extends Message> message) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
ParametersProvider.getParametersFor(ResourceMethod method,
java.util.List<Message> errors,
java.util.ResourceBundle bundle) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
IogiParametersProvider.getParametersFor(ResourceMethod method,
java.util.List<Message> errors,
java.util.ResourceBundle bundle) |
java.lang.Object |
InstantiatorWithErrors.instantiate(br.com.caelum.iogi.reflection.Target<?> target,
br.com.caelum.iogi.parameters.Parameters parameters,
java.util.List<Message> errors) |
java.lang.Object |
VRaptorInstantiator.instantiate(br.com.caelum.iogi.reflection.Target<?> target,
br.com.caelum.iogi.parameters.Parameters parameters,
java.util.List<Message> errors) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
OgnlParametersProvider.createParameter(OgnlParametersProvider.Parameter param,
java.util.Map<java.lang.String,java.lang.String[]> requestNames,
java.util.ResourceBundle bundle,
java.util.List<Message> errors) |
protected java.lang.Object |
OgnlParametersProvider.createRoot(OgnlParametersProvider.Parameter param,
java.util.Map<java.lang.String,java.lang.String[]> requestNames,
java.util.ResourceBundle bundle,
java.util.List<Message> errors) |
java.lang.Object[] |
OgnlParametersProvider.getParametersFor(ResourceMethod method,
java.util.List<Message> errors,
java.util.ResourceBundle bundle) |
protected void |
OgnlParametersProvider.setProperty(java.lang.String name,
java.lang.String key,
java.lang.String[] values,
java.util.List<Message> errors) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Message> |
MockValidator.getErrors() |
Modifier and Type | Method and Description |
---|---|
void |
MockValidator.add(Message message) |
Modifier and Type | Method and Description |
---|---|
void |
MockValidator.addAll(java.util.Collection<? extends Message> messages) |
Modifier and Type | Class and Description |
---|---|
class |
I18nMessage
In this Message implementation, the message is i18n'ed while the category is literal.
|
class |
ValidationMessage
A simple validation message.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Message> |
Validations.getErrors()
Returns the list of errors.
|
java.util.List<Message> |
ValidationException.getErrors() |
java.util.List<Message> |
DefaultValidator.getErrors() |
java.util.List<Message> |
Validations.getErrors(java.util.ResourceBundle bundle)
Returns the list of errors, using given resource bundle.
|
java.util.List<Message> |
Validations.getErrors(com.google.common.base.Supplier<java.util.ResourceBundle> bundle)
Returns the list of errors, using given resource bundle.
|
java.util.List<Message> |
DefaultBeanValidator.validate(java.lang.Object bean,
java.lang.Class<?>... groups) |
java.util.List<Message> |
BeanValidator.validate(java.lang.Object object,
java.lang.Class<?>... groups)
Validate the bean and return a list of messages if has constraint violations.
|
java.util.List<Message> |
NullBeanValidator.validate(java.lang.Object object,
java.lang.Class<?>... groups) |
java.util.List<Message> |
DefaultBeanValidator.validateProperties(java.lang.Object bean,
java.lang.String... properties) |
java.util.List<Message> |
BeanValidator.validateProperties(java.lang.Object object,
java.lang.String... properties)
Validate the specified bean's properties and return a list of messages if has constraint violations.
|
java.util.List<Message> |
NullBeanValidator.validateProperties(java.lang.Object object,
java.lang.String... properties) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultValidator.add(Message message) |
Validations |
Validations.and(Message error)
Adds a single error message to the error list.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultValidator.addAll(java.util.Collection<? extends Message> messages) |
Validations |
Validations.and(java.util.List<Message> errors)
Adds a list of errors to the error list.
|
Constructor and Description |
---|
ValidationException(java.util.List<Message> errors) |
Modifier and Type | Method and Description |
---|---|
<T extends View> |
DefaultValidationViewsFactory.instanceFor(java.lang.Class<T> view,
java.util.List<Message> errors) |
<T extends View> |
ValidationViewsFactory.instanceFor(java.lang.Class<T> view,
java.util.List<Message> errors)
Create an instance of the validation version of the given view.
|
Copyright © 2013 Caelum. All Rights Reserved.