All Methods Instance Methods Abstract Methods
Modifier and Type |
Method and Description |
void |
addError(ObjectError objectError) |
void |
clearAllErrors() |
void |
clearFieldErrors() |
void |
clearFieldErrors(String field) |
void |
clearGlobalErrors() |
List<ObjectError> |
getAllErrors() |
int |
getErrorCount() |
FieldObjectError |
getFieldError(String field) |
int |
getFieldErrorCount(String field) |
List<FieldObjectError> |
getFieldErrors(String field) |
ObjectError |
getGlobalError() |
int |
getGlobalErrorCount() |
List<ObjectError> |
getGlobalErrors() |
String |
getObjectName() |
boolean |
hasErrors() |
boolean |
hasFieldErrors() |
boolean |
hasFieldErrors(String field) |
boolean |
hasGlobalErrors() |
void |
reject(String code,
Object[] args,
String defaultMessage) |
void |
reject(String code,
String defaultMessage) |
void |
rejectField(String field,
Object rejectedValue,
String code,
Object[] args,
String defaultMessage) |
void |
rejectField(String field,
Object rejectedValue,
String code,
String defaultMessage) |
void |
rejectField(String field,
String code,
Object[] args,
String defaultMessage) |
void |
rejectField(String field,
String code,
String defaultMessage) |
String[] |
resolveMessageCodes(String code) |
String[] |
resolveMessageCodes(String code,
String field,
Class<?> fieldType) |