|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opencms.i18n.A_CmsMessageBundle
org.opencms.workflow.Messages
public final class Messages
Convenience class to access the localized messages of this OpenCms package.
| Field Summary | |
|---|---|
static String |
GUI_TASK_STATE_ENDED_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_STATE_HALTED_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_STATE_PREPARED_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_STATE_RUNNING_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_STATE_START_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_STATE_STARTED_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_STATE_UNKNOWN_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_TYPE_ACTIVE_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_TYPE_ALL_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_TYPE_DONE_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_TYPE_ILLEGAL_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_TYPE_NEW_0
Message constant for key in the resource bundle. |
static String |
GUI_TASK_TYPE_OPEN_0
Message constant for key in the resource bundle. |
| Method Summary | |
|---|---|
static I_CmsMessageBundle |
get()
Returns an instance of this localized message accessor. |
String |
getBundleName()
Returns the bundle name for this OpenCms package. |
static String |
toTaskTypeString(int taskType)
Small utility-method that allows output of task states in the OpenCms default locale. |
static String |
toTaskTypeString(int taskType,
CmsRequestContext context)
Small utility-method that allows output of task states in the locale of the current user request. |
static String |
toTaskTypeString(int taskType,
Locale locale)
Small utility-method that allows output of task states in the given Locale. |
| Methods inherited from class org.opencms.i18n.A_CmsMessageBundle |
|---|
container, container, container, container, container, getBundle, getBundle, getOpenCmsMessageBundles, key, key, key, key, key, key, key, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String GUI_TASK_STATE_ENDED_0
public static final String GUI_TASK_STATE_HALTED_0
public static final String GUI_TASK_STATE_PREPARED_0
public static final String GUI_TASK_STATE_RUNNING_0
public static final String GUI_TASK_STATE_START_0
public static final String GUI_TASK_STATE_STARTED_0
public static final String GUI_TASK_STATE_UNKNOWN_0
public static final String GUI_TASK_TYPE_ACTIVE_0
public static final String GUI_TASK_TYPE_ALL_0
public static final String GUI_TASK_TYPE_DONE_0
public static final String GUI_TASK_TYPE_ILLEGAL_0
public static final String GUI_TASK_TYPE_NEW_0
public static final String GUI_TASK_TYPE_OPEN_0
| Method Detail |
|---|
public static I_CmsMessageBundle get()
public static String toTaskTypeString(int taskType)
taskType - One of
CmsTaskService,
toTaskTypeString(int, CmsRequestContext)
public static String toTaskTypeString(int taskType,
CmsRequestContext context)
taskType - One of
CmsTaskService.TASKS_ACTIVE
CmsTaskService.TASKS_ALL
CmsTaskService.TASKS_DONE
CmsTaskService.TASKS_NEW
CmsTaskService.TASKS_OPEN
context - the current user's request context.
CmsTaskService,
toTaskTypeString(int)
public static String toTaskTypeString(int taskType,
Locale locale)
Locale.
taskType - One of
CmsTaskService.TASKS_ACTIVE
CmsTaskService.TASKS_ALL
CmsTaskService.TASKS_DONE
CmsTaskService.TASKS_NEW
CmsTaskService.TASKS_OPEN
locale - the locale in which the task state should be given back.
CmsTaskService,
toTaskTypeString(int)public String getBundleName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||