Package | Description |
---|---|
org.tinygroup.cepcore.exception | |
org.tinygroup.service.exception | |
org.tinygroup.validate | |
org.tinygroup.validate.impl | |
org.tinygroup.validate.validator |
Modifier and Type | Method and Description |
---|---|
ValidateResult |
RequestParamValidateException.getResult() |
Constructor and Description |
---|
RequestParamValidateException(ValidateResult result) |
Modifier and Type | Method and Description |
---|---|
ValidateResult |
ServiceParamValidateException.getResult() |
Constructor and Description |
---|
ServiceParamValidateException(ValidateResult result) |
Modifier and Type | Method and Description |
---|---|
void |
ValidatorManager.validate(Object object,
ValidateResult result)
校验接口
|
void |
ValidatorManager.validate(String scene,
Object object,
ValidateResult result)
校验接口
|
<T> void |
Validator.validate(String name,
String title,
T value,
ValidateResult validateResult)
对数据进行校验,如果校验的数据有错误,则把错误信息添加到validateResult当中
|
Modifier and Type | Class and Description |
---|---|
class |
ValidateResultImpl
验证结果实现类
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractValidatorManger.validate(Object object,
ValidateResult result) |
void |
ComplexValidatorManager.validate(Object object,
ValidateResult result) |
void |
AbstractValidatorManger.validate(String scene,
Object object,
ValidateResult result) |
void |
ComplexValidatorManager.validate(String scene,
Object object,
ValidateResult result) |
Modifier and Type | Method and Description |
---|---|
<R> void |
IntegerRangeValidator.validate(String name,
String title,
R value,
ValidateResult validateResult) |
<T> void |
SizeValidator.validate(String name,
String title,
T value,
ValidateResult validateResult) |
<T> void |
PatternValidator.validate(String name,
String title,
T value,
ValidateResult validateResult) |
<T> void |
NotEqualsValidator.validate(String name,
String title,
T value,
ValidateResult validateResult) |
<T> void |
FalseValidator.validate(String name,
String title,
T value,
ValidateResult validateResult) |
<T> void |
NullValidator.validate(String name,
String title,
T value,
ValidateResult validateResult) |
<T> void |
TrueValidator.validate(String name,
String title,
T value,
ValidateResult validateResult) |
<T> void |
EqualsValidator.validate(String name,
String title,
T value,
ValidateResult validateResult) |
<T> void |
NotNullValidator.validate(String name,
String title,
T value,
ValidateResult validateResult) |
<T> void |
EnumValidator.validate(String name,
String title,
T value,
ValidateResult validateResult) |
Copyright © 2006–2018 TinyGroup. All rights reserved.