Returns an array of all messages bundles used by the OpenCms core.<p>

@return an array of all messages bundles used by the OpenCms core
325245
public static I_CmsMessageBundle[] getOpenCmsMessageBundles() {

        return new I_CmsMessageBundle[] {
            org.opencms.ade.detailpage.Messages.get(),
            org.opencms.ade.containerpage.Messages.get(),
            org.opencms.ade.galleries.Messages.get(),
            org.opencms.ade.publish.Messages.get(),
            org.opencms.ade.sitemap.Messages.get(),
            org.opencms.ade.upload.Messages.get(),
            org.opencms.cache.Messages.get(),
            org.opencms.configuration.Messages.get(),
            org.opencms.db.Messages.get(),
            org.opencms.db.generic.Messages.get(),
            org.opencms.db.log.Messages.get(),
            org.opencms.file.Messages.get(),
            org.opencms.file.collectors.Messages.get(),
            org.opencms.file.types.Messages.get(),
            org.opencms.file.wrapper.Messages.get(),
            org.opencms.flex.Messages.get(),
            org.opencms.gwt.Messages.get(),
            org.opencms.i18n.Messages.get(),
            org.opencms.importexport.Messages.get(),
            org.opencms.jsp.Messages.get(),
            org.opencms.jsp.decorator.Messages.get(),
            org.opencms.jsp.util.Messages.get(),
            org.opencms.loader.Messages.get(),
            org.opencms.lock.Messages.get(),
            org.opencms.mail.Messages.get(),
            org.opencms.main.Messages.get(),
            org.opencms.module.Messages.get(),
            org.opencms.monitor.Messages.get(),
            org.opencms.notification.Messages.get(),
            org.opencms.publish.Messages.get(),
            org.opencms.relations.Messages.get(),
            org.opencms.repository.Messages.get(),
            org.opencms.report.Messages.get(),
            org.opencms.scheduler.Messages.get(),
            org.opencms.scheduler.jobs.Messages.get(),
            org.opencms.search.Messages.get(),
            org.opencms.search.documents.Messages.get(),
            org.opencms.search.extractors.Messages.get(),
            org.opencms.search.solr.Messages.get(),
            org.opencms.security.Messages.get(),
            org.opencms.site.Messages.get(),
            org.opencms.staticexport.Messages.get(),
            org.opencms.synchronize.Messages.get(),
            org.opencms.ui.Messages.get(),
            org.opencms.ui.apps.Messages.get(),
            org.opencms.ui.apps.git.Messages.get(),
            org.opencms.ui.components.Messages.get(),
            org.opencms.ui.contextmenu.Messages.get(),
            org.opencms.ui.dialogs.Messages.get(),
            org.opencms.util.Messages.get(),
            org.opencms.webdav.Messages.get(),
            org.opencms.widgets.Messages.get(),
            org.opencms.workflow.Messages.get(),
            org.opencms.workplace.Messages.get(),
            org.opencms.workplace.commons.Messages.get(),
            org.opencms.workplace.comparison.Messages.get(),
            org.opencms.workplace.editors.Messages.get(),
            org.opencms.workplace.explorer.Messages.get(),
            org.opencms.workplace.galleries.Messages.get(),
            org.opencms.workplace.list.Messages.get(),
            org.opencms.workplace.threads.Messages.get(),
            org.opencms.workplace.tools.Messages.get(),
            org.opencms.workplace.tools.scheduler.Messages.get(),
            org.opencms.xml.Messages.get(),
            org.opencms.xml.containerpage.Messages.get(),
            org.opencms.xml.content.Messages.get(),
            org.opencms.xml.page.Messages.get(),
            org.opencms.xml.types.Messages.get()};
    }
137232
private Map<String, String> getMessagesForLocale() {

        Map<Locale, Map<String, String>> data = getData();
        if (data == null) {
            return Collections.emptyMap();
        }
        List<Locale> available = new ArrayList<Locale>(data.keySet());
        Locale bestMatchingLocale = OpenCms.getLocaleManager().getBestMatchingLocale(
            getLocale(),
            OpenCms.getLocaleManager().getDefaultLocales(),
            available);
        Map<String, String> bundleForLocale = data.get(bestMatchingLocale);
        if (bundleForLocale == null) {
            return Collections.emptyMap();
        } else {
            return Collections.unmodifiableMap(bundleForLocale);
        }
    }
161449
public Map<String, List<String>> getModuleDependencies() {

        if ((m_moduleDependencies == null) || m_moduleDependencies.isEmpty()) {
            try {
                // open the folder "/WEB-INF/packages/modules/"
                m_moduleDependencies = CmsModuleManager.buildDepsForAllModules(getModuleFolder(), true);
            } catch (CmsConfigurationException e) {
                throw new CmsRuntimeException(e.getMessageContainer());
            }
        }
        return m_moduleDependencies;
    }
1373298
public EnumMap<Level, List<Message>> getMessages() {
        final EnumMap<Level, List<Message>> copyOfMessages = new EnumMap<Level, List<Message>>(Level.class);
        for (final Level level : Level.values()) {
            if (containsMessages(level)) {
                copyOfMessages.put(level, getMessages(level));
            }
        }
        return copyOfMessages;
    }
966269
protected List<CmsUser> getNotificationMailRecipients() {

        String group = getWorkflowProjectManagerGroup();
        CmsObject cms = m_adminCms;
        try {
            List<CmsUser> users = cms.getUsersOfGroup(group);
            return users;
        } catch (CmsException e) {
            LOG.error(e.getLocalizedMessage(), e);
            return new ArrayList<CmsUser>();
        }
    }
768056
public List<String> getMessages() {
        List<String> errorMessages = new ArrayList<>();
        for (ValidationError error : errors) {
            errorMessages.add(error.getMessage());
        }
        return errorMessages;
    }
214087
public java.util.List<Communication> getCommunications() {
        if (communications == null) {
            communications = new com.amazonaws.internal.SdkInternalList<Communication>();
        }
        return communications;
    }
1162770
public java.util.List<WorkspaceBundle> getBundles() {
        if (bundles == null) {
            bundles = new com.amazonaws.internal.SdkInternalList<WorkspaceBundle>();
        }
        return bundles;
    }
926219
private CmsResource getMessageBundle() {

        OpenCms.getLocaleManager();
        String localString = CmsLocaleManager.getDefaultLocale().toString();
        List<String> moduleResource = m_module.getResources();
        for (String resourcePath : moduleResource) {
            if (resourcePath.contains(PATH_I18N) && resourcePath.endsWith(localString)) {
                try {
                    return m_cms.readResource(resourcePath);
                } catch (CmsException e) {
                    LOG.error("Can not read message bundle", e);
                }
            }
        }
        String moduleFolder = getModuleFolder(m_module.getName());
        if (CmsStringUtil.isEmptyOrWhitespaceOnly(moduleFolder)) {
            return null;
        }
        String bundlePath = CmsStringUtil.joinPaths(
            moduleFolder,
            PATH_I18N,
            m_module.getName() + SUFFIX_BUNDLE_FILE + "_" + localString);
        if (m_cms.existsResource(bundlePath)) {
            try {
                return m_cms.readResource(bundlePath);
            } catch (CmsException e) {
                LOG.error("No bundle found for module", e);
            }
        }
        return null;
    }
91838
public static List<I_CmsResourceType> getResourceTypes() {

        List<I_CmsResourceType> res = new ArrayList<I_CmsResourceType>();
        for (I_CmsResourceType type : OpenCms.getResourceManager().getResourceTypes()) {
            CmsExplorerTypeSettings typeSetting = OpenCms.getWorkplaceManager().getExplorerTypeSetting(
                type.getTypeName());
            if (typeSetting != null) {
                res.add(type);
            }
        }
        return res;
    }
1074860
public List<String> getModuleFileNames() {

        List<String> result = Lists.newArrayList();
        for (CmsModule module : OpenCms.getModuleManager().getAllInstalledModules()) {
            result.add(getFileNameForModule(module));
        }
        return result;
    }
1079952
List<ScmMaterialConfig> getScmMaterials() {
        List<ScmMaterialConfig> scmMaterials = new ArrayList<>();
        for (FanInNode node : nodes.values()) {
            if (node.materialConfig instanceof ScmMaterialConfig) {
                scmMaterials.add((ScmMaterialConfig) node.materialConfig);
            }
        }
        return scmMaterials;
    }
119276
protected List<String> getImmutableResources() {

        if (m_immutables == null) {
            // get list of immutable resources
            m_immutables = OpenCms.getImportExportManager().getImmutableResources();
            if (m_immutables == null) {
                m_immutables = Collections.emptyList();
            }
            if (LOG.isDebugEnabled()) {
                LOG.debug(
                    Messages.get().getBundle().key(
                        Messages.LOG_IMPORTEXPORT_IMMUTABLE_RESOURCES_SIZE_1,
                        Integer.toString(m_immutables.size())));
            }
        }
        return m_immutables;
    }
1337849
public List<MessagelistenerType<MessageadapterType<T>>> getAllMessagelistener()
   {
      List<MessagelistenerType<MessageadapterType<T>>> list = new ArrayList<MessagelistenerType<MessageadapterType<T>>>();
      List<Node> nodeList = childNode.get("messagelistener");
      for(Node node: nodeList)
      {
         MessagelistenerType<MessageadapterType<T>>  type = new MessagelistenerTypeImpl<MessageadapterType<T>>(this, "messagelistener", childNode, node);
         list.add(type);
      }
      return list;
   }
851903
public List<MessageDestinationType<WebFragmentDescriptor>> getAllMessageDestination()
   {
      List<MessageDestinationType<WebFragmentDescriptor>> list = new ArrayList<MessageDestinationType<WebFragmentDescriptor>>();
      List<Node> nodeList = model.get("message-destination");
      for(Node node: nodeList)
      {
         MessageDestinationType<WebFragmentDescriptor>  type = new MessageDestinationTypeImpl<WebFragmentDescriptor>(this, "message-destination", model, node);
         list.add(type);
      }
      return list;
   }
829306
public java.util.List<BundleTask> getBundleTasks() {
        if (bundleTasks == null) {
            bundleTasks = new com.amazonaws.internal.SdkInternalList<BundleTask>();
        }
        return bundleTasks;
    }
974157
public Map<String, List<String>> getPropertyMessageMap() {
        return messages.map(er -> {
            return requestManager.getMessageManager().toPropertyMessageMap(requestManager.getUserLocale(), er);
        }).orElse(Collections.emptyMap());
    }