Uses of Class
org.opencms.i18n.CmsMessages
Packages that use 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
Methods in org.opencms.ade.contenteditor with parameters of type CmsMessagesModifier and TypeMethodDescriptionstatic List<CmsTabInfo> CmsContentTypeVisitor.collectTabInfos(CmsObject cms, CmsXmlContentDefinition definition, CmsMessages messages) Returns the tab informations for the given content definition.static CmsWidgetUtil.WidgetInfoCmsWidgetUtil.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
Methods in org.opencms.db.log with parameters of type CmsMessagesModifier and TypeMethodDescriptionCmsLogEntryType.getLocalizedName(CmsMessages messages) Returns a localized name for the given log entry type. -
Uses of CmsMessages in org.opencms.i18n
Subclasses of CmsMessages in org.opencms.i18nModifier and TypeClassDescriptionclassProvides access to the localized messages for several resource bundles simultaneously.Methods in org.opencms.i18n that return CmsMessagesModifier 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.Methods in org.opencms.i18n that return types with arguments of type CmsMessagesModifier and TypeMethodDescriptionCmsMultiMessages.getMessages()Returns the list of all individual message objects in this multi message instance.Methods in org.opencms.i18n with parameters of type CmsMessagesModifier and TypeMethodDescriptionvoidCmsMultiMessages.addMessages(CmsMessages messages) Adds a messages instance to this multi message bundle.Method parameters in org.opencms.i18n with type arguments of type CmsMessagesModifier and TypeMethodDescriptionvoidCmsMultiMessages.addMessages(List<CmsMessages> messages) Adds a list a messages instances to this multi message bundle. -
Uses of CmsMessages in org.opencms.jsp
Methods in org.opencms.jsp that return CmsMessagesModifier and TypeMethodDescriptionCmsJspActionElement.getMessages(String bundleName, String language) Generates an initialized instance ofCmsMessagesfor convenient access to localized resource bundles.CmsJspActionElement.getMessages(String bundleName, String language, String defaultLanguage) Generates an initialized instance ofCmsMessagesfor convenient access to localized resource bundles.CmsJspActionElement.getMessages(String bundleName, String language, String country, String variant, String defaultLanguage) Generates an initialized instance ofCmsMessagesfor convenient access to localized resource bundles.CmsJspActionElement.getMessages(String bundleName, Locale locale) Generates an initialized instance ofCmsMessagesfor convenient access to localized resource bundles. -
Uses of CmsMessages in org.opencms.jsp.util
Methods in org.opencms.jsp.util that return CmsMessagesModifier and TypeMethodDescriptionprotected CmsMessagesCmsJspStatusBean.getMessages()Returns the initialized messages object to read localized messages from.Methods in org.opencms.jsp.util with parameters of type CmsMessagesModifier and TypeMethodDescriptionprotected voidCmsJspStatusBean.setMessages(CmsMessages messages) Sets the initialized messages object to read localized messages from. -
Uses of CmsMessages in org.opencms.main
Methods in org.opencms.main that return CmsMessagesModifier and TypeMethodDescriptionCmsShell.getMessages()Returns the localized messages object for the current user. -
Uses of CmsMessages in org.opencms.relations
Methods in org.opencms.relations with parameters of type CmsMessagesModifier and TypeMethodDescriptionCmsRelationType.getLocalizedName(CmsMessages messages) Returns a localized name for the given relation type. -
Uses of CmsMessages in org.opencms.report
Methods in org.opencms.report that return CmsMessagesModifier and TypeMethodDescriptionprotected CmsMessagesA_CmsReport.getMessages()Returns the default report message bundle. -
Uses of CmsMessages in org.opencms.ui
Methods in org.opencms.ui that return CmsMessagesModifier and TypeMethodDescriptionstatic CmsMessagesCmsVaadinUtils.getWpMessagesForCurrentLocale()Gets the workplace messages for the current locale.Methods in org.opencms.ui with parameters of type CmsMessagesModifier and TypeMethodDescriptionprotected static voidCmsVaadinUtils.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 voidCmsVaadinUtils.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
Methods in org.opencms.ui.editors.messagebundle with parameters of type CmsMessagesModifier and TypeMethodDescriptionCmsMessageBundleEditorModel.getConfigurableMessages(CmsMessages defaultMessages, Locale locale) Returns the configured bundle, or the provided default bundle.Constructors in org.opencms.ui.editors.messagebundle with parameters of type CmsMessagesModifierConstructorDescriptionConfigurableMessages(CmsMessages defaultMessages, Locale locale, String configuredBundle) Default constructor. -
Uses of CmsMessages in org.opencms.util
Fields in org.opencms.util declared as CmsMessagesModifier and TypeFieldDescriptionprotected CmsMessagesCmsMacroResolver.m_messagesThe messages resource bundle to resolve localized keys with.Methods in org.opencms.util with parameters of type CmsMessagesModifier and TypeMethodDescriptionstatic StringCmsMacroResolver.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 ofto this macro resolver, required to resolve localized macros.CmsMessages -
Uses of CmsMessages in org.opencms.widgets
Methods in org.opencms.widgets that return CmsMessagesModifier and TypeMethodDescriptionA_CmsWidget.CmsDummyWidgetDialog.getMessages()I_CmsWidgetDialog.getMessages()Returns a messages object used to render localized keys for the widget dialog.Methods in org.opencms.widgets with parameters of type CmsMessagesModifier and TypeMethodDescriptionprotected voidCmsHtmlWidget.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 StringCmsCalendarWidget.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 JSONObjectA_CmsAdeGalleryWidget.getAdditionalGalleryInfo(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) Returns additional widget information encapsulated in a JSON object.protected JSONObjectCmsAdeDownloadGalleryWidget.getAdditionalGalleryInfo(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) protected JSONObjectCmsAdeImageGalleryWidget.getAdditionalGalleryInfo(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) protected JSONObjectCmsVfsImageWidget.getAdditionalGalleryInfo(CmsObject cms, String resource, CmsMessages messages, I_CmsWidgetParameter param) static longCmsCalendarWidget.getCalendarDate(CmsMessages messages, String dateString, boolean useTime) Creates the time in milliseconds from the given parameter.static StringCmsCalendarWidget.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 JSONObjectCmsVfsFileWidget.getJsonConfig(CmsObject cms, A_CmsXmlContentValue schemaType, CmsMessages messages, CmsResource resource, Locale contentLocale) Gets the JSON configuration.protected JSONObjectA_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 CmsGalleryWidgetConfigurationA_CmsAdeGalleryWidget.getWidgetConfiguration(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) Returns the widget configuration.protected CmsVfsImageWidgetConfigurationCmsAdeImageGalleryWidget.getWidgetConfiguration(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param) protected voidCmsGalleryWidgetConfiguration.init(CmsObject cms, CmsMessages messages, I_CmsWidgetParameter param, String configuration) Initializes the widget configuration using the given configuration string.protected voidCmsVfsImageWidgetConfiguration.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.Constructors in org.opencms.widgets with parameters of type CmsMessagesModifierConstructorDescriptionCmsDummyWidgetDialog(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
Subclasses of CmsMessages in org.opencms.workplaceModifier and TypeClassDescriptionclassProvides access to the localized messages for the OpenCms workplace.Methods in org.opencms.workplace that return CmsMessagesModifier and TypeMethodDescriptionCmsWorkplace.getMessages()Returns the current used message object.Methods in org.opencms.workplace with parameters of type CmsMessagesModifier and TypeMethodDescriptionprotected voidCmsWorkplace.addMessages(CmsMessages messages) Auxiliary method for initialization of messages. -
Uses of CmsMessages in org.opencms.workplace.editors.directedit
Fields in org.opencms.workplace.editors.directedit declared as CmsMessagesModifier and TypeFieldDescriptionprotected CmsMessagesA_CmsDirectEditProvider.m_messagesUsed to access the editor messages. -
Uses of CmsMessages in org.opencms.xml
Subclasses of CmsMessages in org.opencms.xmlModifier and TypeClassDescriptionclassThe xml messages overwrite some methods of the general CmsMessages class to get keys from an individual configuration file.Methods in org.opencms.xml that return CmsMessagesMethods in org.opencms.xml with parameters of type CmsMessagesModifier and TypeMethodDescriptionvoidCmsXmlMessages.setMessages(CmsMessages messages) Sets the messages.Constructors in org.opencms.xml with parameters of type CmsMessagesModifierConstructorDescriptionCmsXmlMessages(CmsMessages messages, String configurationFileName, String pathPrefix, Locale locale) Constructor, with parameters. -
Uses of CmsMessages in org.opencms.xml.content
Methods in org.opencms.xml.content that return CmsMessagesModifier and TypeMethodDescriptionCmsDefaultXmlContentHandler.getMessages(Locale locale) I_CmsXmlContentHandler.getMessages(Locale locale) Returns theCmsMessagesthat are used to resolve localized keys for the given locale in this content handler.