Interface MessageHolder
- All Known Implementing Classes:
DefaultMessageHolder
public interface MessageHolder
An i18n- and character-escaping-agnostic collection of action and field error
Message
s.
Provides a similar interface to ValidationAware
but with Message
s instead of Strings.
- Since:
- 4.2.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addActionError
(String messageKey) void
addActionError
(String messageKey, Object... args) void
addActionInfo
(String messageKey, Object... args) void
addActionSuccess
(String messageKey, Object... args) void
addActionWarning
(String messageKey, Object... args) void
addFieldError
(String field, String messageKey) boolean
-
Method Details
-
hasErrors
boolean hasErrors() -
addFieldError
-
addActionError
-
addActionError
-
addActionWarning
-
addActionInfo
-
addActionSuccess
-
getActionErrors
-
getActionWarnings
-
getActionInfos
-
getActionSuccesses
-
getFieldErrors
-