@Name(value="facetedSearchActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class FacetedSearchActions extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_SAVED_SEARCHES_LABEL |
static String |
CONTENT_VIEW_NAME_PARAMETER |
static String |
DUBLINCORE_SCHEMA |
static String |
ENCODED_VALUES_ENCODING |
static String |
FACETED_SEARCH_CODEC |
static String |
FILTER_VALUES_PARAMETER |
static String |
FLAGGED_SAVED_SEARCHES_LABEL |
static String |
NONE_LABEL |
static String |
NONE_VALUE |
static String |
SEARCH_SAVED_LABEL |
static String |
USER_SAVED_SEARCHES_LABEL |
| Constructor and Description |
|---|
FacetedSearchActions() |
public static final String DUBLINCORE_SCHEMA
public static final String NONE_VALUE
public static final String NONE_LABEL
public static final String USER_SAVED_SEARCHES_LABEL
public static final String ALL_SAVED_SEARCHES_LABEL
public static final String FLAGGED_SAVED_SEARCHES_LABEL
public static final String SEARCH_SAVED_LABEL
public static final String FACETED_SEARCH_CODEC
public static final String CONTENT_VIEW_NAME_PARAMETER
public static final String FILTER_VALUES_PARAMETER
public static final String ENCODED_VALUES_ENCODING
@Factory(value="facetedSearchCurrentContentViewName",
scope=EVENT)
public String getCurrentContentViewName()
throws ClientException
ClientExceptionpublic void setCurrentContentViewName(String facetedSearchCurrentContentViewName)
public List<String> getContentViewNames() throws ClientException
ClientExceptionpublic Set<ContentViewHeader> getContentViewHeaders() throws ClientException
ClientExceptionpublic void clearSearch()
public List<DocumentModel> getCurrentUserSavedSearches() throws ClientException
ClientExceptionpublic List<DocumentModel> getOtherUsersSavedSearches() throws ClientException
ClientException@Factory(value="allSavedSearchesSelectItems",
scope=EVENT)
public List<javax.faces.model.SelectItem> getAllSavedSearchesSelectItems()
throws ClientException
ClientExceptionpublic void setCurrentSelectedSavedSearchId(String savedSearchId) throws ClientException
ClientExceptionpublic String getCurrentSelectedSavedSearchId()
public String loadSelectedSavedSearch(String jsfView) throws ClientException
ClientExceptionpublic void loadSelectedSavedSearch()
throws ClientException
ClientExceptionpublic void loadSavedSearch(String savedSearchId) throws ClientException
ClientExceptionpublic void loadSavedSearch(String contentViewName, DocumentModel searchDocument) throws ClientException
ClientExceptionpublic String getSavedSearchTitle()
public void setSavedSearchTitle(String savedSearchTitle)
public void saveSearch()
throws ClientException
ClientExceptionpublic void setFilterValues(String filterValues) throws ClientException, org.json.JSONException, UnsupportedEncodingException
ClientExceptionorg.json.JSONExceptionUnsupportedEncodingExceptionpublic String getPermanentLinkUrl() throws ClientException, UnsupportedEncodingException
@Observer(value="localConfigurationChanged") public void invalidateContentViewsName()
@Observer(value="userAllDocumentTypesSelectionChanged")
public void invalidateContentViewsNameIfChanged()
throws ClientException
ClientExceptionpublic String getRootSavedSearchesTitle()
public boolean haveOldSavedSearches()
throws ClientException
ClientExceptionpublic void migrateOldSavedSearches()
throws ClientException
ClientExceptionCopyright © 2015 Nuxeo SA. All rights reserved.