/** * Returns the "workplace search result style" setting.<p> * * @return the "workplace search result style" setting */ public String getParamTabExWorkplaceSearchResult() { return m_userSettings.getWorkplaceSearchViewStyle().toString(); }
/** * Returns the "workplace search result style" setting.<p> * * @return the "workplace search result style" setting */ public String getParamTabExWorkplaceSearchResult() { return m_userSettings.getWorkplaceSearchViewStyle().toString(); }
params.put(A_CmsListDialog.PARAM_PAGE, "1"); params.put(CmsToolDialog.PARAM_ROOT, "explorer"); if (getSettings().getUserSettings().getWorkplaceSearchViewStyle() == CmsSearchResultStyle.STYLE_EXPLORER) { getSettings().setExplorerPage(1); params.put(A_CmsListExplorerDialog.PARAM_SHOW_EXPLORER, Boolean.TRUE); } else { CmsListMetadata metadata = A_CmsListDialog.getMetadata(CmsSearchResultsList.class.getName()); boolean withExcerpts = (getSettings().getUserSettings().getWorkplaceSearchViewStyle() == CmsSearchResultStyle.STYLE_LIST_WITH_EXCERPTS); if (metadata == null) { if (!withExcerpts) {
params.put(A_CmsListDialog.PARAM_PAGE, new String[] {"1"}); params.put(CmsToolDialog.PARAM_ROOT, new String[] {"explorer"}); if (getSettings().getUserSettings().getWorkplaceSearchViewStyle() == CmsSearchResultStyle.STYLE_EXPLORER) { getSettings().setExplorerPage(1); params.put(A_CmsListExplorerDialog.PARAM_SHOW_EXPLORER, new String[] {Boolean.TRUE.toString()}); CmsSearchResultsList.class.getName(), resultsList.getListId()); boolean withExcerpts = (getSettings().getUserSettings().getWorkplaceSearchViewStyle() == CmsSearchResultStyle.STYLE_LIST_WITH_EXCERPTS); if (metadata == null) { if (!withExcerpts) {
if (getWorkplaceSearchViewStyle() != null) { m_user.setAdditionalInfo( PREFERENCES + CmsWorkplaceConfiguration.N_WORKPLACESEARCH + CmsWorkplaceConfiguration.N_SEARCHVIEWSTYLE, getWorkplaceSearchViewStyle().toString());
if (getWorkplaceSearchViewStyle() != null) { m_user.setAdditionalInfo(PREFERENCES + CmsWorkplaceConfiguration.N_WORKPLACESEARCH + CmsWorkplaceConfiguration.N_SEARCHVIEWSTYLE, getWorkplaceSearchViewStyle().toString());