Uses of Class
org.opencms.i18n.CmsMessages
Package
Description
Contains server side classes for the XML content editor.
This package contains the implementation classes for the DB log.
Classes to handle internalization (i18n) and locale selection in OpenCms.
The implementation of the OpenCms JSP tag library, with some additional utility classes to
help in JSP scriplet code and navigation building.
Utility classes to be used for JSP pages.
Provides the main OpenCms "operating system".
Classes to represent and validate the internal and external links/relations of resources in the OpenCms VFS.
Classes used to generate the OpenCms reports, which are displayed during publish, import, export etc.
General code for the Vaadin UI.
The data bindings and logic for the translator editor.
Utility functions for String manipulation and other often used tasks.
Contains the widget implementations, these are GUI elements used in editors and dialogs of the OpenCms workplace.
The base classes for the OpenCms Workplace
(standard dialog, tab dialog, report based dialog)
and the Workplace configuration classes are located here.
Used to control the generation of the HTML for the "direct edit" buttons.
Basic XML functionality and utilities used by OpenCms to maintain XML documents and content.
Contains functions for structured content storage using XML, commonly called "XML content" in OpenCms.
-
Uses of CmsMessages in org.opencms.ade.contenteditor
Modifier and TypeMethodDescriptionstatic List<CmsTabInfo>
CmsContentTypeVisitor.collectTabInfos
(CmsObject cms, CmsXmlContentDefinition definition, CmsMessages messages) Returns the tab informations for the given content definition.static CmsWidgetUtil.WidgetInfo
CmsWidgetUtil.collectWidgetInfo
(CmsObject cms, CmsXmlContentDefinition rootContentDefinition, String path, CmsMessages messages, Locale overrideLocale) Collects widget information for a given content definition and content value path. -
Uses of CmsMessages in org.opencms.db.log
Modifier and TypeMethodDescriptionCmsLogEntryType.getLocalizedName
(CmsMessages messages) Returns a localized name for the given log entry type. -
Uses of CmsMessages in org.opencms.i18n
Modifier and TypeClassDescriptionclass
Provides access to the localized messages for several resource bundles simultaneously.Modifier and TypeMethodDescriptionA_CmsMessageBundle.getBundle()
I_CmsMessageBundle.getBundle()
Returns the localized message bundle wrapped in this instance initialized with the OpenCms default locale.Returns the localized message bundle wrapped in this instance initialized with the provided locale.Modifier and TypeMethodDescriptionCmsMultiMessages.getMessages()
Returns the list of all individual message objects in this multi message instance.Modifier and TypeMethodDescriptionvoid
CmsMultiMessages.addMessages
(CmsMessages messages) Adds a messages instance to this multi message bundle.Modifier and TypeMethodDescriptionvoid
CmsMultiMessages.addMessages
(List<CmsMessages> messages) Adds a list a messages instances to this multi message bundle. -
Uses of CmsMessages in org.opencms.jsp
Modifier and TypeMethodDescriptionCmsJspActionElement.getMessages
(String bundleName, String language) Generates an initialized instance ofCmsMessages
for convenient access to localized resource bundles.CmsJspActionElement.getMessages
(String bundleName, String language, String defaultLanguage) Generates an initialized instance ofCmsMessages
for convenient access to localized resource bundles.CmsJspActionElement.getMessages
(String bundleName, String language, String country, String variant, String defaultLanguage) Generates an initialized instance ofCmsMessages
for convenient access to localized resource bundles.CmsJspActionElement.getMessages
(String bundleName, Locale locale) Generates an initialized instance ofCmsMessages
for convenient access to localized resource bundles. -
Uses of CmsMessages in org.opencms.jsp.util
Modifier and TypeMethodDescriptionprotected CmsMessages
CmsJspStatusBean.getMessages()
Returns the initialized messages object to read localized messages from.Modifier and TypeMethodDescriptionprotected void
CmsJspStatusBean.setMessages
(CmsMessages messages) Sets the initialized messages object to read localized messages from. -
Uses of CmsMessages in org.opencms.main
Modifier and TypeMethodDescriptionCmsShell.getMessages()
Returns the localized messages object for the current user. -
Uses of CmsMessages in org.opencms.relations
Modifier and TypeMethodDescriptionCmsRelationType.getLocalizedName
(CmsMessages messages) Returns a localized name for the given relation type. -
Uses of CmsMessages in org.opencms.report
Modifier and TypeMethodDescriptionprotected CmsMessages
A_CmsReport.getMessages()
Returns the default report message bundle. -
Uses of CmsMessages in org.opencms.ui
Modifier and TypeMethodDescriptionstatic CmsMessages
CmsVaadinUtils.getWpMessagesForCurrentLocale()
Gets the workplace messages for the current locale.Modifier and TypeMethodDescriptionprotected static void
CmsVaadinUtils.readAndLocalizeDesign
(com.vaadin.ui.Component component, InputStream designStream, CmsMessages messages, Map<String, String> macros) Reads the given design and resolves the given macros and localizations.static void
CmsVaadinUtils.readAndLocalizeDesign
(com.vaadin.ui.Component component, CmsMessages messages, Map<String, String> macros) Reads the declarative design for a component and localizes it using a messages object. -
Uses of CmsMessages in org.opencms.ui.editors.messagebundle
Modifier and TypeMethodDescriptionCmsMessageBundleEditorModel.getConfigurableMessages
(CmsMessages defaultMessages, Locale locale) Returns the configured bundle, or the provided default bundle.ModifierConstructorDescriptionConfigurableMessages
(CmsMessages defaultMessages, Locale locale, String configuredBundle) Default constructor. -
Uses of CmsMessages in org.opencms.util
Modifier and TypeFieldDescriptionprotected CmsMessages
CmsMacroResolver.m_messages
The messages resource bundle to resolve localized keys with.Modifier and TypeMethodDescriptionstatic String
CmsMacroResolver.resolveMacros
(String input, CmsObject cms, CmsMessages messages) Resolves the macros in the given input using the provided parameters.CmsMacroResolver.setMessages
(CmsMessages messages) Provides a set of
to this macro resolver, required to resolve localized macros.CmsMessages
-
Uses of CmsMessages in org.opencms.widgets
Modifier and TypeMethodDescriptionA_CmsWidget.CmsDummyWidgetDialog.getMessages()
I_CmsWidgetDialog.getMessages()
Returns a messages object used to render localized keys for the widget dialog.Modifier and TypeMethodDescriptionprotected void
CmsHtmlWidget.addEmbeddedGalleryOptions
(JSONObject result, CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) Adds the configuration for embedded gallery widgets the the JSON object.static String
CmsCalendarWidget.calendarInit
(CmsMessages messages, String inputFieldId, String triggerButtonId, String align, boolean singleClick, boolean weekNumbers, boolean mondayFirst, String dateStatusFunc, boolean showTime) Generates the HTML to initialize the JavaScript calendar element on the end of a page.protected abstract JSONObject
A_CmsAdeGalleryWidget.getAdditionalGalleryInfo
(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) Returns additional widget information encapsulated in a JSON object.protected JSONObject
CmsAdeDownloadGalleryWidget.getAdditionalGalleryInfo
(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) protected JSONObject
CmsAdeImageGalleryWidget.getAdditionalGalleryInfo
(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) protected JSONObject
CmsVfsImageWidget.getAdditionalGalleryInfo
(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) static long
CmsCalendarWidget.getCalendarDate
(CmsMessages messages, String dateString, boolean useTime) Creates the time in milliseconds from the given parameter.static String
CmsCalendarWidget.getCalendarLocalizedTime
(Locale locale, CmsMessages messages, long timestamp) Returns the given timestamp as String formatted in a localized pattern.A_CmsAdeGalleryWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) A_CmsCategorizedSelectWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) Gets the configuration.A_CmsFormatterWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) A_CmsGalleryWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) A_CmsSelectWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsAccessRestrictionWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsCalendarWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsCategoryWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsCheckboxWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsCodeWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsColorpickerWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsDependentSelectWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsDisplayTypeSelectWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsDisplayWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsGroupWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsHtmlWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsInputWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsLocalizationWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsLocationPickerWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsMultiSelectGroupWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsPasswordWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsPrincipalWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsSelectGroupWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsSerialDateWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsTextareaWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsTypeComboWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsTypeFilterWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) CmsVfsFileWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) I_CmsADEWidget.getConfiguration
(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) Returns the configuration string for the ADE content editor widget.protected abstract com.google.web.bindery.autobean.shared.AutoBean<I_CmsCategorizedSelectData>
A_CmsCategorizedSelectWidget.getData
(CmsObject cms, A_CmsXmlContentValue contentValue, CmsMessages messages, CmsResource resource, Locale contentLocale) Gets the select option data for the widget.I_CmsImageWidgetDynamicConfiguration.getFormatValues
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, List<CmsSelectWidgetOption> selectFormat, List<String> formatValues) Returns the matching format values for the given format select options.A_CmsAdeGalleryWidget.getGalleryOpenParams
(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param, String resource, long hashId) Returns the required gallery open parameters.CmsVfsImageWidget.getGalleryOpenParams
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, String resource, long hashId) protected JSONObject
CmsVfsFileWidget.getJsonConfig
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) Gets the JSON configuration.protected JSONObject
A_CmsAdeGalleryWidget.getJSONConfig
(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) Returns the gallery widget configuration as a JSON object.I_CmsGalleryWidgetDynamicConfiguration.getStartup
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param) Returns the required information for the initial item list to load.I_CmsImageWidgetDynamicConfiguration.getStartup
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param) Returns the required information for the initial image list to load.I_CmsGalleryWidgetDynamicConfiguration.getType
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param) Returns the type of the initial item list to load, either gallery or category.I_CmsImageWidgetDynamicConfiguration.getType
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param) Returns the type of the initial image list to load, either gallery or category.protected CmsGalleryWidgetConfiguration
A_CmsAdeGalleryWidget.getWidgetConfiguration
(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) Returns the widget configuration.protected CmsVfsImageWidgetConfiguration
CmsAdeImageGalleryWidget.getWidgetConfiguration
(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) protected void
CmsGalleryWidgetConfiguration.init
(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param, String configuration) Initializes the widget configuration using the given configuration string.protected void
CmsVfsImageWidgetConfiguration.init
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, String configuration) Initializes the widget configuration using the given configuration string.protected List<CmsSelectWidgetOption>
CmsMultiSelectGroupWidget.parseSelectOptions
(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) protected List<CmsSelectWidgetOption>
CmsSelectGroupWidget.parseSelectOptions
(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) Returns the list of configured select options, parsing the configuration String if required.ModifierConstructorDescriptionCmsDummyWidgetDialog
(Locale locale, CmsMessages message) Constructor.CmsGalleryWidgetConfiguration
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, String configuration) Generates an initialized configuration for the gallery item widget using the given configuration string.CmsVfsImageWidgetConfiguration
(CmsObject cms, CmsMessages widgetDialog, I_CmsWidgetParameter param, String configuration) Generates an initialized configuration for the image widget using the given configuration string. -
Uses of CmsMessages in org.opencms.workplace
Modifier and TypeClassDescriptionclass
Provides access to the localized messages for the OpenCms workplace.Modifier and TypeMethodDescriptionCmsWorkplace.getMessages()
Returns the current used message object.Modifier and TypeMethodDescriptionprotected void
CmsWorkplace.addMessages
(CmsMessages messages) Auxiliary method for initialization of messages. -
Uses of CmsMessages in org.opencms.workplace.editors.directedit
Modifier and TypeFieldDescriptionprotected CmsMessages
A_CmsDirectEditProvider.m_messages
Used to access the editor messages. -
Uses of CmsMessages in org.opencms.xml
Modifier and TypeClassDescriptionclass
The xml messages overwrite some methods of the general CmsMessages class to get keys from an individual configuration file.Modifier and TypeMethodDescriptionvoid
CmsXmlMessages.setMessages
(CmsMessages messages) Sets the messages.ModifierConstructorDescriptionCmsXmlMessages
(CmsMessages messages, String configurationFileName, String pathPrefix, Locale locale) Constructor, with parameters. -
Uses of CmsMessages in org.opencms.xml.content
Modifier and TypeMethodDescriptionCmsDefaultXmlContentHandler.getMessages
(Locale locale) I_CmsXmlContentHandler.getMessages
(Locale locale) Returns theCmsMessages
that are used to resolve localized keys for the given locale in this content handler.