public interface ComponentMessagesHolder
| Modifier and Type | Method and Description |
|---|---|
void |
addMessage(ErrorMessage errorMessage)
Adds message to this component with type set to MessageType.FAILURE.
|
void |
addMessage(GlobalMessage globalMessage)
Adds message to this component with type set to MessageType.INFO.
|
void |
addMessage(String messageTranslationKey,
ComponentState.MessageType type,
boolean autoClose,
boolean extraLarge,
String... args)
Adds message (translated using given key) to this component.
|
void |
addMessage(String messageTranslationKey,
ComponentState.MessageType type,
boolean autoClose,
String... args)
Adds message (translated using given key) to this component.
|
void |
addMessage(String messageTranslationKey,
ComponentState.MessageType type,
String... args)
Adds message (translated using given key) to this component.
|
void |
addTranslatedMessage(String translatedMessage,
ComponentState.MessageType type)
Adds already translated message to this component.
|
void |
addTranslatedMessage(String translatedMessage,
ComponentState.MessageType type,
boolean autoClose)
Adds already translated message to this component.
|
void |
addTranslatedMessage(String translatedMessage,
ComponentState.MessageType type,
boolean autoClose,
boolean extraLarge)
Adds already translated message to this component.
|
void addMessage(ErrorMessage errorMessage)
errorMessage - validation error messagevoid addMessage(GlobalMessage globalMessage)
globalMessage - validation messagevoid addMessage(String messageTranslationKey, ComponentState.MessageType type, boolean autoClose, boolean extraLarge, String... args)
messageTranslationKey - translation key for message contenttype - message typeautoClose - true if this message should automatically close after some timeargs - message's argumentsextraLarge - void addMessage(String messageTranslationKey, ComponentState.MessageType type, boolean autoClose, String... args)
messageTranslationKey - translation key for message contenttype - message typeautoClose - true if this message should automatically close after some timeargs - message's argumentsvoid addMessage(String messageTranslationKey, ComponentState.MessageType type, String... args)
messageTranslationKey - translation key for message contenttype - message typeargs - message's argumentsvoid addTranslatedMessage(String translatedMessage, ComponentState.MessageType type)
translatedMessage - translated message contenttype - message typeautoClose - true if this message should automatically close after some timevoid addTranslatedMessage(String translatedMessage, ComponentState.MessageType type, boolean autoClose)
translatedMessage - translated message contenttype - message typeautoClose - true if this message should automatically close after some timevoid addTranslatedMessage(String translatedMessage, ComponentState.MessageType type, boolean autoClose, boolean extraLarge)
translatedMessage - translated message contenttype - message typeautoClose - true if this message should automatically close after some timeextraLarge - Copyright © 2010-2025 Qcadoo Limited