public interface ProcessMessagesManager
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
void |
clearCaches()
Clears messages caches
|
java.lang.String |
findMessage(java.lang.String actProcessDefinitionId,
java.lang.String key)
Returns localized message from BPMN process or null if not found.
Locale is determined by the current user session. |
java.lang.String |
findMessage(java.lang.String actProcessDefinitionId,
java.lang.String key,
java.util.Locale locale)
Returns localized message from BPMN process or null if not found.
|
java.lang.String |
getMessage(java.lang.String actProcessDefinitionId,
java.lang.String key)
Returns localized message from BPMN process.
Locale is determined by the current user session. |
java.lang.String |
getMessage(java.lang.String actProcessDefinitionId,
java.lang.String key,
java.util.Locale locale)
Returns localized message from BPMN process.
|
java.lang.String |
loadString(java.lang.String actProcessDefinitionId,
java.lang.String ref)
Get localized message from a process by reference provided in the full format.
Locale is determined by the current user session. |
java.lang.String |
loadString(java.lang.String actProcessDefinitionId,
java.lang.String ref,
java.util.Locale locale)
Get localized message from a process by reference provided in the full format.
|
static final java.lang.String NAME
java.lang.String getMessage(java.lang.String actProcessDefinitionId, java.lang.String key)
actProcessDefinitionId
- activiti process definition idkey
- message keyjava.lang.String getMessage(java.lang.String actProcessDefinitionId, java.lang.String key, java.util.Locale locale)
actProcessDefinitionId
- activiti process definition idkey
- message keylocale
- message locale@Nullable java.lang.String findMessage(java.lang.String actProcessDefinitionId, java.lang.String key)
actProcessDefinitionId
- activiti process definition idkey
- message key@Nullable java.lang.String findMessage(java.lang.String actProcessDefinitionId, java.lang.String key, java.util.Locale locale)
actProcessDefinitionId
- activiti process definition idkey
- message keylocale
- message localejava.lang.String loadString(java.lang.String actProcessDefinitionId, java.lang.String ref)
actProcessDefinitionId
- activiti process definition idref
- reference to message in the following format: msg://message_key
msg://
java.lang.String loadString(java.lang.String actProcessDefinitionId, java.lang.String ref, java.util.Locale locale)
actProcessDefinitionId
- activiti process definition idref
- reference to message in the following format: msg://message_key
locale
- message localemsg://
void clearCaches()