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