/** * Sets the "start site" setting.<p> * * @param value the start site to show in the explorer view */ public void setParamTabWpSite(String value) { m_userSettings.setStartSite(value); }
/** * Sets the "start site" setting.<p> * * @param value the start site to show in the explorer view */ public void setParamTabWpSite(String value) { m_userSettings.setStartSite(value); }
/** * Change the user settings concerned with the place where a user is taken on login * @param username the name of the user for which the data should be changed * @param startProject the start project * @param startSite the start site * @param startFolder the start folder (relative to the site root) * @param startView the start view * - Direct edit (/system/workplace/views/explorer/directEdit.jsp) * - Explorer (/system/workplace/views/explorer/explorer_fs.jsp) * - Administration (/system/workplace/views/admin/admin-fs.jsp) * @throws CmsException thrown if user can't be read or settings can't be saved. */ public void changeUserSettingsStartParameters( String username, String startProject, String startSite, String startFolder, String startView) throws CmsException { CmsUser user = m_cms.readUser(username); CmsUserSettings settings = new CmsUserSettings(user); settings.setStartProject(startProject); settings.setStartSite(startSite); settings.setStartFolder(startFolder); settings.setStartView(startView); settings.save(m_cms); }
settings.setStartSite(getSite());