A service that is validated by javax.validation
| Type | Name and description |
|---|---|
ParameterNameProvider |
parameterNameProviderThe parameter name provided for this service |
| Type | Name and description |
|---|---|
org.springframework.validation.Errors |
asErrors(java.lang.Object object, ConstraintViolationException e)Converts a ConstraintViolationException to errors |
org.springframework.validation.Errors |
asErrors(java.lang.Object object, java.util.Set<ConstraintViolation> constraintViolations)Converts a ConstraintViolationException to errors |
ValidatorFactory |
getValidatorFactory()@return The validator factory for this service |
void |
javaxValidate(java.lang.Object instance, java.lang.reflect.Method method, java.lang.Object... args)Validate the given method for the given arguments |
void |
validate(java.lang.Object instance, java.lang.reflect.Method method, java.lang.Object... args)Validate the given method for the given arguments |
| Methods inherited from class | Name |
|---|---|
interface org.grails.datastore.mapping.services.Service |
org.grails.datastore.mapping.services.Service#getDatastore(), org.grails.datastore.mapping.services.Service#setDatastore(org.grails.datastore.mapping.core.Datastore) |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
The parameter name provided for this service
Converts a ConstraintViolationException to errors
object - The validated objecte - The exceptionConverts a ConstraintViolationException to errors
object - The validated objecte - The exception
Validate the given method for the given arguments
instance - The instancemethod - The methodargs - The argumentsValidate the given method for the given arguments
instance - The instancemethod - The methodargs - The arguments