Gets the workplace mode.<p>

@return the workplace mode
485998
@PrefMetadata(type = CmsWorkplaceModePreference.class)
    public String getWorkplaceMode() {

        return m_settings.getAdditionalPreference(CmsWorkplaceModePreference.PREFERENCE_NAME, false);
    }
1019325
public List<CmsSite> getAvailableCorruptedSites(CmsObject cms, boolean workplaceMode) {

        List<CmsSite> res = new ArrayList<CmsSite>();
        List<CmsSite> visSites = getAvailableSites(cms, workplaceMode);
        Map<CmsSiteMatcher, CmsSite> allsites = getSites();
        for (CmsSiteMatcher matcher : allsites.keySet()) {
            CmsSite site = allsites.get(matcher);
            if (!visSites.contains(site) & !res.contains(site)) {
                res.add(site);
            }
        }
        return res;
    }
1065237
public static BrowserManager.Mode getBrowserManagerMode() {
		return getKeepBrowsersOpen() ? BrowserManager.Mode.DO_NOT_CLOSE_BROWSERS : BrowserManager.Mode.DEFAULT;
	}
562173
public I_CmsSitemapServiceAsync getService() {

        if (m_service == null) {
            m_service = GWT.create(I_CmsSitemapService.class);
            String serviceUrl = CmsCoreProvider.get().link("org.opencms.ade.sitemap.CmsVfsSitemapService.gwt");
            ((ServiceDefTarget)m_service).setServiceEntryPoint(serviceUrl);
        }
        return m_service;
    }
533501
public java.util.List<WorkspacesIpGroup> getResult() {
        if (result == null) {
            result = new com.amazonaws.internal.SdkInternalList<WorkspacesIpGroup>();
        }
        return result;
    }
1252253
public String getAssignedOu() {

        try {
            CmsOrganizationalUnit ou;
            if (!isNewProject()) {
                ou = OpenCms.getOrgUnitManager().readOrganizationalUnit(getCms(), m_project.getOuFqn());
            } else {
                ou = OpenCms.getRoleManager().getOrgUnitsForRole(getCms(), CmsRole.PROJECT_MANAGER, true).get(0);
            }
            return ou.getDisplayName(getLocale());
        } catch (CmsException e) {
            return null;
        }
    }
301082
public String getWorkspaceKey() {
        if (workspaceKey == null) {
            // Value is idempotent, so it's okay to do this without synchronizing ...
            workspaceKey = key.substring(WORKSPACE_START_INDEX, WORKSPACE_END_INDEX);
        }
        return workspaceKey;
    }
474943
public CmsResource getResource() {

        return new CmsResource(
            m_base.getStructureId(),
            m_base.getResourceId(),
            m_rootPath,
            m_typeId,
            m_isFolder,
            m_base.getFlags(),
            m_base.getProjectLastModified(),
            m_base.getState(),
            m_base.getDateCreated(),
            m_base.getUserCreated(),
            m_base.getDateLastModified(),
            m_base.getUserLastModified(),
            m_base.getDateReleased(),
            m_base.getDateExpired(),
            m_base.getSiblingCount(),
            m_length,
            m_base.getDateContent(),
            m_base.getVersion());
    }
875526
public static String getStartView(CmsObject cms) {

        CmsUserSettings settings = new CmsUserSettings(cms);
        String targetView = getDirectEditPath(cms, settings, false);
        if (targetView == null) {
            if (settings.getStartView().startsWith("/")) {
                if (CmsWorkplace.VIEW_WORKPLACE.equals(settings.getStartView())) {
                    targetView = "#" + CmsFileExplorerConfiguration.APP_ID;
                } else if (CmsWorkplace.VIEW_ADMIN.equals(settings.getStartView())) {
                    targetView = "#" + CmsAppHierarchyConfiguration.APP_ID;
                }
            } else {
                targetView = "#" + settings.getStartView();
            }
        }
        return targetView;
    }
887319
public String getParamWpres() {

        if (CmsStringUtil.isEmptyOrWhitespaceOnly(m_paramWpres) || "null".equals(m_paramWpres)) {
            return CmsVaadinUtils.getWorkplaceLink();
        }
        return m_paramWpres;
    }
10430
public String getAssignedOu() {

        try {
            CmsOrganizationalUnit ou = OpenCms.getOrgUnitManager().readOrganizationalUnit(getCms(), getParamOufqn());
            return ou.getDisplayName(getLocale());
        } catch (CmsException e) {
            return null;
        }
    }
470160
public CmsPublishManager.PublishListRemoveMode getPublishListRemoveMode() {

        try {
            // trim preserves null
            return CmsPublishManager.PublishListRemoveMode.valueOf(StringUtils.trim(m_publishListRemoveMode));
        } catch (Exception e) {
            return CmsPublishManager.PublishListRemoveMode.allUsers;
        }
    }
971130
public AiBlendMode getBlendMode() {
        Property p = getProperty(PropertyKey.BLEND_MODE.m_key);
        
        if (null == p || null == p.getData()) {
            return (AiBlendMode) m_defaults.get(PropertyKey.BLEND_MODE);
        }
        
        return AiBlendMode.fromRawValue((Integer) p.getData());
    }
599417
public java.util.List<String> getConfigure() {
        if (configure == null) {
            configure = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return configure;
    }
1011499
public FilePath getCurrentWorkspace() {
        lock.readLock().lock();
        try {
            if (executable == null) {
                return null;
            }
            if (executable instanceof AbstractBuild) {
                AbstractBuild ab = (AbstractBuild) executable;
                return ab.getWorkspace();
            }
            return null;
        } finally {
            lock.readLock().unlock();
        }
    }
346219
public WorkspaceContainer getWorkspaceContainer(String workspaceName)
   {
      Object comp = getComponentInstance(workspaceName);
      return comp != null && comp instanceof WorkspaceContainer ? (WorkspaceContainer)comp : null;
   }
1282301
public String getDependency() {

        String dependency = "";
        CmsRole role = m_role;
        while (role.getParentRole() != null) {
            dependency = dependency + role.getParentRole().getName(getCms().getRequestContext().getLocale());
            role = role.getParentRole();
            if (role.getParentRole() != null) {
                dependency = dependency + ", ";
            }
        }
        return dependency;
    }