@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
ClientException
public void setCurrentContentViewName(String facetedSearchCurrentContentViewName)
public List<String> getContentViewNames() throws ClientException
ClientException
public Set<ContentViewHeader> getContentViewHeaders() throws ClientException
ClientException
public void clearSearch()
public List<DocumentModel> getCurrentUserSavedSearches() throws ClientException
ClientException
public List<DocumentModel> getOtherUsersSavedSearches() throws ClientException
ClientException
@Factory(value="allSavedSearchesSelectItems", scope=EVENT) public List<javax.faces.model.SelectItem> getAllSavedSearchesSelectItems() throws ClientException
ClientException
public void setCurrentSelectedSavedSearchId(String savedSearchId) throws ClientException
ClientException
public String getCurrentSelectedSavedSearchId()
public String loadSelectedSavedSearch(String jsfView) throws ClientException
ClientException
public void loadSelectedSavedSearch() throws ClientException
ClientException
public void loadSavedSearch(String savedSearchId) throws ClientException
ClientException
public void loadSavedSearch(String contentViewName, DocumentModel searchDocument) throws ClientException
ClientException
public String getSavedSearchTitle()
public void setSavedSearchTitle(String savedSearchTitle)
public void saveSearch() throws ClientException
ClientException
public void setFilterValues(String filterValues) throws ClientException, org.json.JSONException, UnsupportedEncodingException
ClientException
org.json.JSONException
UnsupportedEncodingException
public String getPermanentLinkUrl() throws ClientException, UnsupportedEncodingException
@Observer(value="localConfigurationChanged") public void invalidateContentViewsName()
@Observer(value="userAllDocumentTypesSelectionChanged") public void invalidateContentViewsNameIfChanged() throws ClientException
ClientException
public String getRootSavedSearchesTitle()
public boolean haveOldSavedSearches() throws ClientException
ClientException
public void migrateOldSavedSearches() throws ClientException
ClientException
Copyright © 2015 Nuxeo SA. All rights reserved.