public interface Validatory
Modifier and Type | Method and Description |
---|---|
<T> void |
assertValidate(Object params,
Class<T> validateGroup)
Use validator (JSR 303) to perform validation against domain model
|
void |
assertValidate(Object params,
ValidateType validateType)
Use validator (JSR 303) to perform validation against domain model
|
<T> Map<String,String> |
validate(Object params,
Class<T> validateGroup)
Use validator (JSR 303) to perform validation against domain model
|
Map<String,String> |
validate(Object params,
ValidateType validateType)
Use validator (JSR 303) to perform validation against domain model
|
void assertValidate(Object params, ValidateType validateType)
params
- the domain model to validatevalidateType
- type of validationConstraintException
- when some constraint is violated<T> void assertValidate(Object params, Class<T> validateGroup)
params
- the domain model to validatevalidateGroup
- type of validationConstraintException
- when some constraint is violatedMap<String,String> validate(Object params, ValidateType validateType)
params
- the domain model to validatevalidateType
- type of validation<T> Map<String,String> validate(Object params, Class<T> validateGroup)
params
- the domain model to validatevalidateGroup
- type of validationCopyright © 2012–2020 jkniv, copyleft code. All rights reserved.