Returns the present export files on the server to show in the combo box.<p>

The result list elements are of type <code>{@link org.opencms.widgets.CmsSelectWidgetOption}</code>.<p>

@return the present export files on the server to show in the combo box
11575
protected List getComboExportFiles() {

        List result = new ArrayList(8);
        Iterator i = CmsDatabaseImportFromServer.getFileListFromServer(true).iterator();
        while (i.hasNext()) {
            String fileName = (String)i.next();
            String helpText = key(Messages.GUI_EDITOR_HELP_EXPORTFILE_1, new String[] {fileName});
            result.add(new CmsSelectWidgetOption(fileName, false, null, helpText));
        }
        return result;
    }
1343520
private List<CmsSelectWidgetOption> getSortNamesConf() {

        List<CmsSelectWidgetOption> retVal = new ArrayList<CmsSelectWidgetOption>();
        try {
            String[] names = CmsSearchParameters.SORT_NAMES;
            for (int i = 0; i < names.length; i++) {
                retVal.add(
                    new CmsSelectWidgetOption(
                        names[i],
                        (i == 0),
                        key(A_CmsWidget.LABEL_PREFIX + names[i].toLowerCase())));
            }
        } catch (Exception e) {
            // noop
        }
        return retVal;
    }
667430
protected List getFilesFromServer() {

        List retVal = new ArrayList();
        Iterator i = getFileListFromServer(true).iterator();
        while (i.hasNext()) {
            String fileName = (String)i.next();
            retVal.add(new CmsSelectWidgetOption(fileName));
        }
        return retVal;
    }
316760
public Map<String, org.opencms.ade.containerpage.client.ui.CmsContainerPageContainer> getContainerTargets() {

        Map<String, org.opencms.ade.containerpage.client.ui.CmsContainerPageContainer> result = new HashMap<String, org.opencms.ade.containerpage.client.ui.CmsContainerPageContainer>();
        for (Entry<String, org.opencms.ade.containerpage.client.ui.CmsContainerPageContainer> entry : m_targetContainers.entrySet()) {
            if (entry.getValue().isEditable()
                && (!isDetailPage() || (entry.getValue().isDetailOnly() || entry.getValue().isDetailView()))) {
                result.put(entry.getKey(), entry.getValue());
            }
        }
        return result;
    }
130575
private List<CmsSelectWidgetOption> getProjects() {

        List<CmsSelectWidgetOption> projects = new ArrayList<CmsSelectWidgetOption>();

        try {
            String defProject = null;
            if ((m_user != null) && CmsStringUtil.isNotEmptyOrWhitespaceOnly(m_user.getName())) {
                defProject = new CmsUserSettings(m_user).getStartProject();
            }
            if (CmsStringUtil.isEmptyOrWhitespaceOnly(defProject)) {
                defProject = getParamOufqn() + OpenCms.getWorkplaceManager().getDefaultUserSettings().getStartProject();
            }
            if (CmsStringUtil.isEmptyOrWhitespaceOnly(defProject)) {
                defProject = getCms().getRequestContext().getCurrentProject().getName();
            }

            List<CmsProject> projectsList;
            projectsList = OpenCms.getOrgUnitManager().getAllAccessibleProjects(getCms(), getParamOufqn(), false);

            Iterator<CmsProject> itProjects = projectsList.iterator();

            while (itProjects.hasNext()) {
                boolean selected = false;
                CmsProject project = itProjects.next();

                String projectName = project.getName();
                if (projectName.equals(defProject)) {
                    selected = true;
                }
                if (isNewUser()) {
                    projects.add(
                        new CmsSelectWidgetOption(project.getSimpleName(), selected, project.getSimpleName(), null));
                } else {
                    projects.add(new CmsSelectWidgetOption(project.getName(), selected, project.getSimpleName(), null));
                }
            }

        } catch (CmsException e) {
            if (LOG.isErrorEnabled()) {
                LOG.error(e.getLocalizedMessage(), e);
            }
        }

        return projects;
    }
914646
private Map<CmsExportname, String> computeVfsExportnames() {

        if (LOG.isDebugEnabled()) {
            LOG.debug(Messages.get().getBundle().key(Messages.LOG_UPDATE_EXPORTNAME_PROP_START_0));
        }

        CmsSiteManagerImpl sm = OpenCms.getSiteManager();

        List<CmsResource> resources;
        CmsObject cms = null;
        try {
            // this will always be in the root site
            cms = OpenCms.initCmsObject(OpenCms.getDefaultUsers().getUserExport());
            resources = cms.readResourcesWithProperty(CmsPropertyDefinition.PROPERTY_EXPORTNAME);

            synchronized (m_lockSetExportnames) {
                Map<CmsExportname, String> exportnameResources = new HashMap<CmsExportname, String>();
                for (int i = 0, n = resources.size(); i < n; i++) {
                    CmsResource res = resources.get(i);
                    try {
                        String foldername = res.getRootPath();
                        String exportname = cms.readPropertyObject(
                            foldername,
                            CmsPropertyDefinition.PROPERTY_EXPORTNAME,
                            false).getValue();
                        CmsSite site = sm.getSiteForRootPath(foldername);
                        if (exportname != null) {
                            if (exportname.charAt(exportname.length() - 1) != '/') {
                                exportname = exportname + "/";
                            }
                            if (exportname.charAt(0) != '/') {
                                exportname = "/" + exportname;
                            }
                            // export name has to be system-wide unique
                            // the folder name is a root path
                            exportnameResources.put(new CmsExportname(exportname, site), foldername);
                        }
                    } catch (CmsException e) {
                        // should never happen, folder will not be added
                        LOG.error(e.getLocalizedMessage(), e);
                    }
                }
                return Collections.unmodifiableMap(exportnameResources);
            }
        } catch (CmsException e) {
            // should never happen, no resources will be added at all
            LOG.error(e.getLocalizedMessage(), e);
            return Collections.emptyMap();
        }
    }
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;
    }
132678
private List<CmsResource> getDecorationMapFiles(CmsObject cms) throws CmsException {

        List<CmsResource> files = new ArrayList<CmsResource>();

        // calcualte the basename for the decoration map files
        // the basename is the filename without the fileextension and any "_locale" postfixes
        // e.g. decoration_en.csv will generate "decoration" as basename
        StringBuffer baseFilename = new StringBuffer();
        baseFilename.append(CmsResource.getParentFolder(m_configurationFile));
        String filename = cms.readResource(m_configurationFile).getName();
        // get rid of the fileextension if there is one
        if (filename.lastIndexOf(".") > -1) {
            filename = filename.substring(0, filename.lastIndexOf("."));
        }
        // extract the basename
        if (filename.lastIndexOf("_") > -1) {
            filename = filename.substring(0, filename.lastIndexOf("_"));
        }
        baseFilename.append(filename);
        String basename = baseFilename.toString();

        // get all config files which belong to this basename
        int plainId;
        try {
            plainId = OpenCms.getResourceManager().getResourceType(
                CmsResourceTypePlain.getStaticTypeName()).getTypeId();
        } catch (CmsLoaderException e) {
            // this should really never happen
            plainId = CmsResourceTypePlain.getStaticTypeId();
        }
        List<CmsResource> resources = cms.readResources(
            CmsResource.getParentFolder(m_configurationFile),
            CmsResourceFilter.DEFAULT);
        Iterator<CmsResource> i = resources.iterator();
        while (i.hasNext()) {
            CmsResource res = i.next();
            if (cms.getSitePath(res).startsWith(basename) && (res.getTypeId() == plainId)) {
                files.add(res);
            }
        }

        return files;
    }
434763
protected List<CmsSelectWidgetOption> getComboClasses() {

        List<CmsSelectWidgetOption> result = new ArrayList<CmsSelectWidgetOption>(16);
        result.add(
            new CmsSelectWidgetOption(
                CmsInternalRelationsValidationJob.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_INTERNALVALIDATION_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsPublishJob.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_PUBLISH_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsStaticExportJob.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_STATICEXPORT_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsExternalLinksValidator.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_POINTERVALIDATION_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsMemoryMonitor.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_MEMORYMONITOR_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsSearchManager.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_SEARCHINDEX_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsContentNotificationJob.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_CONTENTNOTIFICATION_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsCreateImageSizeJob.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_IMAGESIZE_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsImageCacheCleanupJob.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_IMAGE_CACHECLEAN_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsHistoryClearJob.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_CLEARHISTORY_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsDeleteExpiredResourcesJob.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_DELETEEXPIRED_0)));
        result.add(
            new CmsSelectWidgetOption(
                CmsUnsubscribeDeletedResourcesJob.class.getName(),
                false,
                null,
                key(Messages.GUI_EDITOR_CRONCLASS_UNSUBSCRIBEDELETED_0)));
        return result;
    }
1242465
public java.util.List<SMBFileShareInfo> getSMBFileShareInfoList() {
        if (sMBFileShareInfoList == null) {
            sMBFileShareInfoList = new com.amazonaws.internal.SdkInternalList<SMBFileShareInfo>();
        }
        return sMBFileShareInfoList;
    }
546066
protected List<CmsContainerElement> getElements() {

        List<CmsContainerElement> subItems = new ArrayList<CmsContainerElement>();
        Iterator<Widget> it = m_groupContainer.iterator();
        while (it.hasNext()) {
            Widget w = it.next();
            if (w instanceof CmsContainerPageElementPanel) {
                CmsContainerPageElementPanel elementWidget = (CmsContainerPageElementPanel)w;
                CmsContainerElement element = new CmsContainerElement();
                element.setClientId(elementWidget.getId());
                element.setResourceType(elementWidget.getNewType());
                element.setCreateNew(elementWidget.isCreateNew());
                element.setSitePath(elementWidget.getSitePath());
                element.setNewEditorDisabled(elementWidget.isNewEditorDisabled());
                subItems.add(element);
            }
        }
        return subItems;
    }
709217
public java.util.List<String> getExportableLogTypes() {
        if (exportableLogTypes == null) {
            exportableLogTypes = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return exportableLogTypes;
    }
787744
public java.util.List<Option> getOptions() {
        if (options == null) {
            options = new com.amazonaws.internal.SdkInternalList<Option>();
        }
        return options;
    }
338404
private List<CmsResource> getVirtualResourcesForExport(CmsObject cms) throws CmsException {

        List<CmsResource> virtualResources = Lists.newArrayList();
        for (String name : OpenCms.getModuleManager().getImportExportRepository().getModuleFileNames()) {
            String path = CmsStringUtil.joinPaths(EXPORT_PATH, name);
            CmsResource res = createFakeBinaryFile(path);
            virtualResources.add(res);
        }
        return virtualResources;

    }
1025223
public List<CmsFormatterBean> getFormatters() {

        CmsFormatterBean mainFormatter = createFormatterBean(m_mainFormat, true);
        List<CmsFormatterBean> formatters = new ArrayList<CmsFormatterBean>();
        formatters.add(mainFormatter);
        for (Format format : m_otherFormats) {
            formatters.add(createFormatterBean(format, false));
        }
        return formatters;
    }
430054
public String getExplorerFileListFullUri() {

        if (m_file_explorer_filelist != null) {
            return m_file_explorer_filelist;
        }
        synchronized (this) {
            m_file_explorer_filelist = OpenCms.getLinkManager().substituteLink(getCms(), FILE_EXPLORER_FILELIST);
        }
        return m_file_explorer_filelist;
    }
1038781
private List<CmsSelectWidgetOption> getFieldList() {

        List<CmsSelectWidgetOption> retVal = new ArrayList<CmsSelectWidgetOption>();
        try {
            Iterator<CmsSearchField> i = getSearchFields().iterator();
            while (i.hasNext()) {
                CmsLuceneField field = (CmsLuceneField)i.next();
                retVal.add(
                    new CmsSelectWidgetOption(
                        field.getName(),
                        true,
                        getMacroResolver().resolveMacros(field.getDisplayName())));
            }
        } catch (Exception e) {
            // noop
        }
        return retVal;
    }