public interface MessageContainer
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorMessage(String messageKey,
String target,
Object... params)
Adds a (non-leading)message with severity error.
|
void |
addInfoMessage(String messageKey,
String target,
Object... params)
Adds a (non-leading)message with severity info.
|
void |
addSuccessMessage(String messageKey,
String target,
Object... params)
Adds a (non-leading)message with severity success.
|
void |
addWarningMessage(String messageKey,
String target,
Object... params)
Adds a (non-leading)message with severity warning.
|
void |
setLeadingMessage(String messageKey,
String target,
Object... params)
Sets the leading message.
|
void addErrorMessage(String messageKey, String target, Object... params)
messageKey - messageKey associated with the message, used as the key to a properties file to retrieve the message text.target - Target for which this message applies.params - Parameters which will be substituted in the messageText in place of placeholders.void setLeadingMessage(String messageKey, String target, Object... params)
messageKey - messageKey associated with the message, used as the key to a properties file to retrieve the message text.target - Target for which this message applies.params - Parameters which will be substituted in the messageText in place of placeholders.void addWarningMessage(String messageKey, String target, Object... params)
messageKey - messageKey associated with the message, used as the key to a properties file to retrieve the message text.target - Target for which this message applies.params - Parameters which will be substituted in the messageText in place of placeholders.void addInfoMessage(String messageKey, String target, Object... params)
messageKey - messageKey associated with the message, used as the key to a properties file to retrieve the message text.target - Target for which this message applies.params - Parameters which will be substituted in the messageText in place of placeholders.void addSuccessMessage(String messageKey, String target, Object... params)
messageKey - messageKey associated with the message, used as the key to a properties file to retrieve the message text.target - Target for which this message applies.params - Parameters which will be substituted in the messageText in place of placeholders.Copyright © 2020 SAP. All Rights Reserved.