@Name(value="searchUIActions") @Scope(value=CONVERSATION) @Install(precedence=10) public class SearchUIActions extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
CONTENT_VIEW_NAME_PARAMETER |
static String |
CONTENT_VIEW_STATE_PARAMETER |
static String |
CURRENT_PAGE_PARAMETER |
static String |
DEFAULT_NXQL_QUERY |
static String |
MAIN_TABS_SEARCH |
static String |
NXQL_SEARCH_CONTENT_VIEW_NAME |
static String |
PAGE_SIZE_PARAMETER |
static String |
SAVED_SEARCHES_LABEL |
static String |
SEARCH_CODEC |
static String |
SEARCH_FILTERS_LABEL |
static String |
SEARCH_SAVED_LABEL |
static String |
SEARCH_TERM_PARAMETER |
static String |
SEARCH_VIEW_ID |
static String |
SHARED_SEARCHES_LABEL |
static String |
SIMPLE_SEARCH_CONTENT_VIEW_NAME |
Constructor and Description |
---|
SearchUIActions() |
public static final String SAVED_SEARCHES_LABEL
public static final String SHARED_SEARCHES_LABEL
public static final String SEARCH_FILTERS_LABEL
public static final String SEARCH_SAVED_LABEL
public static final String MAIN_TABS_SEARCH
public static final String SEARCH_VIEW_ID
public static final String SEARCH_CODEC
public static final String SIMPLE_SEARCH_CONTENT_VIEW_NAME
public static final String NXQL_SEARCH_CONTENT_VIEW_NAME
public static final String DEFAULT_NXQL_QUERY
public static final String CONTENT_VIEW_NAME_PARAMETER
public static final String CURRENT_PAGE_PARAMETER
public static final String PAGE_SIZE_PARAMETER
public static final String CONTENT_VIEW_STATE_PARAMETER
public static final String SEARCH_TERM_PARAMETER
public String getSearchMainTab()
public void setSearchMainTab(String tabs)
public String getSearchViewTitle()
public boolean isOnSearchView()
public String getJSONContentViewState() throws ClientException, UnsupportedEncodingException
public String getCurrentContentViewName()
public void setCurrentContentViewName(String contentViewName) throws ClientException
ClientException
public String getCurrentSelectedSavedSearchId()
public void setCurrentSelectedSavedSearchId(String selectedSavedSearchId) throws UnsupportedEncodingException, ClientException
public void loadSavedSearch(DocumentModel searchDocument) throws UnsupportedEncodingException, ClientException
public List<ContentViewHeader> getContentViewHeaders() throws ClientException
ClientException
public void clearSearch() throws ClientException
ClientException
public void refreshAndRewind() throws ClientException
ClientException
public void refreshAndRewindAndResetAggregates() throws ClientException
ClientException
public List<javax.faces.model.SelectItem> getAllSavedSearchesSelectItems() throws ClientException
ClientException
public String getSavedSearchTitle()
public void setSavedSearchTitle(String savedSearchTitle)
public String saveSearch() throws ClientException
ClientException
public void cancelSaveSearch()
public void setState(String state) throws ClientException, UnsupportedEncodingException
public String getCurrentPage()
public void setCurrentPage(String currentPage)
public String getPageSize()
public void setPageSize(String pageSize)
public void setSearchTerm(String searchTerm) throws ClientException, UnsupportedEncodingException
public String getSearchPermanentLinkUrl() throws ClientException, UnsupportedEncodingException
public String getSearchTabUrl(String searchTerm) throws ClientException, UnsupportedEncodingException
ClientException
UnsupportedEncodingException
public String getSimpleSearchKeywords()
public void setSimpleSearchKeywords(String simpleSearchKeywords)
public void validateSimpleSearchKeywords(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, Object value)
public String doSimpleSearch()
public String getNxqlQuery()
public void setNxqlQuery(String nxqlQuery)
public boolean isNxqlSearchSelected()
@Begin(id="#{conversationIdGenerator.currentOrNewMainConversationId}", join=true) public String loadPermanentLink(DocumentView docView) throws ClientException
ClientException
@Observer(value="localConfigurationChanged") public void invalidateContentViewsName()
@Observer(value="userAllDocumentTypesSelectionChanged") public void invalidateContentViewsNameIfChanged() throws ClientException
ClientException
@Observer(value="flush", create=false) @BypassInterceptors public void resetOnFlush()
public String getSearchTermParameter()
Copyright © 2015 Nuxeo SA. All rights reserved.