Loads a list of module configurations from the VFS.<p>

@return the module configurations
421709
protected List<CmsADEConfigDataInternal> loadModuleConfiguration() {

        if (m_cms.existsResource("/")) {
            CmsConfigurationReader reader = new CmsConfigurationReader(m_cms);
            List<CmsADEConfigDataInternal> moduleConfigs = reader.readModuleConfigurations();
            return moduleConfigs;
        } else {
            return Collections.emptyList();
        }
    }
258922
public List<String> getAllModuleNames() {

        List<String> sortedModuleNames = new ArrayList<String>(OpenCms.getModuleManager().getModuleNames());
        java.util.Collections.sort(sortedModuleNames);
        return sortedModuleNames;
    }
1009819
public void listModules() throws Exception {

        Set<String> modules = OpenCms.getModuleManager().getModuleNames();
        m_shell.getOut().println(
            "\n" + getMessages().key(Messages.GUI_SHELL_LIST_MODULES_1, new Integer(modules.size())));
        Iterator<String> i = modules.iterator();
        while (i.hasNext()) {
            String moduleName = i.next();
            m_shell.getOut().println(moduleName);
        }
        m_shell.getOut().println();
    }
369158
private static Set<CmsResource> getAllResourcesInModule(CmsObject cms, CmsModule module) throws CmsException {

        Set<CmsResource> result = new HashSet<>();
        for (CmsResource resource : CmsModule.calculateModuleResources(cms, module)) {
            result.add(resource);
            if (resource.isFolder()) {
                result.addAll(cms.readResources(resource, CmsResourceFilter.ALL, true));
            }
        }
        return result;
    }
1259548
public java.util.List<String> getImports() {
        if (imports == null) {
            imports = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return imports;
    }
86691
@Override
    public List<Module> getModules() {
        modules = Lists.createWhenNull(modules);
        if (ModuleUtils.getModule(modules, DCModule.URI) == null) {
            modules.add(new DCModuleImpl());
        }
        return modules;
    }
212686
protected List<String> getModulesToDelete() {

        List<String> result = new ArrayList<String>();
        for (int i = 0; i < OBSOLETE_MODULES.length; i++) {
            if (OpenCms.getModuleManager().hasModule(OBSOLETE_MODULES[i])) {
                result.add(OBSOLETE_MODULES[i]);
            }
        }
        return result;
    }
540020
public Module loadModule(String l) {
        Module m = Module.load(l);
        modules.put(m.name(), m);
        return m;
    }
962922
private List<String> getModes() {

        List<String> modes = new ArrayList<String>();
        try {
            modes = CmsStringUtil.splitAsList(getMode(), SEPARATOR_MODES, true);
        } catch (Exception e) {
            // error generating list, an empty list will be returned
        }

        return modes;
    }
163486
public java.util.List<ConfigRule> getConfigRules() {
        if (configRules == null) {
            configRules = new com.amazonaws.internal.SdkInternalList<ConfigRule>();
        }
        return configRules;
    }
882119
protected Configuration[] loadConfigurations() throws Exception
    {
        String[] names = _configurationClassNames;
        
        //if this webapp does not have its own set of configurators, use the defaults
        if (null==names)
            names = ((Server)getHttpServer()).getWebApplicationConfigurationClassNames();
        
        if (null!=names)
        {
            //instantiate instances for each
            Object[] nullArgs = new Object[0];
            Configuration[] configurations = new Configuration[names.length];
            for (int i=0; i< names.length; i++)
            {
                configurations[i] =
                    (Configuration)Loader.loadClass(WebApplicationContext.class, names[i]).getConstructors()[0].newInstance(nullArgs);
                if (log.isDebugEnabled()){log.debug("Loaded instance of "+names[i]);};
            }
            return configurations;
        }
        else
            return new Configuration[0];
    }
572723
public java.util.List<ConfigurationSet> getConfigurationSets() {
        if (configurationSets == null) {
            configurationSets = new com.amazonaws.internal.SdkInternalList<ConfigurationSet>();
        }
        return configurationSets;
    }
1269478
protected static function _loadModulesConfig( )
		{
			$config = array( '..' , '.' );
			foreach ( static::options( ) as $key => $val )
			{
				$config[ ] = $key . '.php';
			}
			foreach ( Module::all( ) as $k => $module )
			{
				$scanned_directory = array_diff( scandir( ptc_path( 'root' ) . '/modules/' . $k . '/config' ) , $config );
				if ( !empty( $scanned_directory ) )
				{
					foreach ( $scanned_directory as $file )
					{
						$option_name = str_replace( '.php' , '' , $file );
						$options = require( ptc_path( 'root' ) . '/modules/' . $k . '/config/' . $file );
						if ( ptc_array_get( $options , '_load' ) )
						{
							$options = call_user_func( ptc_array_get( $options , '_load' ) , $options );
						}
						static::option( $option_name , $options );
					}
				}
			}
		}
1270952
@Override
	public List<String> getModules() throws BadRequestException {
		final String sourceMethod = "getModules"; //$NON-NLS-1$
		if (isTraceLogging) {
			log.entering(RequestedModuleNames.class.getName(), sourceMethod);
		}
		if (modules == null) {
			modules = decodeModules(moduleQueryArg, base64decodedIdList, true);
			if (modules.size() != count) {
				throw new BadRequestException();
			}
		}
		if (isTraceLogging) {
			log.exiting(RequestedModuleNames.class.getName(), sourceMethod, modules);
		}
		return modules;
	}
1329510
private List<I_CmsSearchConfigurationSortOption> getSortOptions() {

        final List<I_CmsSearchConfigurationSortOption> options = new ArrayList<I_CmsSearchConfigurationSortOption>();
        final CmsXmlContentValueSequence sortOptions = m_xml.getValueSequence(XML_ELEMENT_SORTOPTIONS, m_locale);
        if (sortOptions == null) {
            return null;
        } else {
            for (int i = 0; i < sortOptions.getElementCount(); i++) {
                final I_CmsSearchConfigurationSortOption option = parseSortOption(
                    sortOptions.getValue(i).getPath() + "/");
                if (option != null) {
                    options.add(option);
                }
            }
            return options;
        }
    }
291608
private List<I_CmsFolderAppCategory> loadAppFolder() {

        List<I_CmsFolderAppCategory> result = new ArrayList<I_CmsFolderAppCategory>();
        result.addAll(
            Arrays.<I_CmsFolderAppCategory> asList(
                new CmsLinkValidationFolder(),
                new CmsFileHistoryFolder(),
                new CmsDbManagerFolder(),
                new CmsCacheFolder()));
        return result;
    }
109354
public Set<String> getConfiguredWorkplaceBundles() {

        Set<String> result = new HashSet<String>();
        for (CmsResourceTypeConfig config : internalGetResourceTypes(false)) {
            String bundlename = config.getConfiguredWorkplaceBundle();
            if (null != bundlename) {
                result.add(bundlename);
            }
        }
        return result;
    }