|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceCommandValidator
| Method Summary | |
|---|---|
void |
addFieldValidationError(String fieldName,
String messageKey)
Add a new validation error. |
void |
addFieldValidationError(String fieldName,
String messageKey,
Object... messageArguments)
Add a new validation error. |
void |
addValidationError(String messageKey,
Object... messageArguments)
Add a new validation error. |
Collection<ValidationError> |
getValidationErrors()
Get all validation errors. |
| Method Detail |
|---|
void addFieldValidationError(String fieldName,
String messageKey)
fieldName - the field that is not validmessageKey - the i18n key for the validation error message
void addValidationError(String messageKey,
Object... messageArguments)
messageKey - the i18n key for the validation error messagemessageArguments - the arguments to be merged into the error message
void addFieldValidationError(String fieldName,
String messageKey,
Object... messageArguments)
fieldName - the field that is not validmessageKey - the i18n key for the validation error messagemessageArguments - the arguments to be merged into the error message.Collection<ValidationError> getValidationErrors()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||