DocumentSearchActions
and content views instead@Deprecated @Name(value="searchActions") @Scope(value=CONVERSATION) public class SearchActionsBean extends InputController implements SearchActions, Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ACTION_PAGE_SEARCH_FORM
Deprecated.
|
static String |
ACTION_PAGE_SEARCH_NO_KEYWORDS
Deprecated.
|
static String |
ACTION_PAGE_SEARCH_QUERY_ERROR
Deprecated.
|
static String |
ACTION_PAGE_SEARCH_RESULTS
Deprecated.
|
static String |
PROV_NXQL
Deprecated.
|
static String |
QM_ADVANCED
Deprecated.
|
static String |
QM_SIMPLE
Deprecated.
|
SEARCH_DOCUMENT_LIST
Constructor and Description |
---|
SearchActionsBean()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
getDocumentLocation(DocumentModel doc)
Deprecated.
|
DocumentModel |
getDocumentModel()
Deprecated.
|
String |
getLatestNxql()
Deprecated.
|
String |
getNxql()
Deprecated.
|
String |
getQueryErrorMsg()
Deprecated.
|
String |
getReindexPath()
Deprecated.
|
List<DocumentModel> |
getResultDocuments(String providerName)
Deprecated.
|
PagedDocumentsProvider |
getResultsProvider(String name)
Deprecated.
ResultsProviderFarm interface implementation.
|
PagedDocumentsProvider |
getResultsProvider(String name,
SortInfo sortInfo)
Deprecated.
|
SelectDataModel |
getResultsSelectModel(String providerName)
Deprecated.
|
String |
getSearchTypeId()
Deprecated.
|
String |
getSimpleSearchKeywords()
Deprecated.
|
boolean |
isReindexingAll()
Deprecated.
Is search service reindexing all ?
|
String |
performSearch()
Deprecated.
To be called from UI.
|
String |
processSelectRow(String selectedDocRef,
String providerName,
Boolean selection)
Deprecated.
This will be called with Seam remoting...
|
void |
processSelectRowEvent(SelectDataModelRowEvent event)
Deprecated.
|
void |
refreshCache()
Deprecated.
Refresh cache
|
void |
reindexDocuments()
Deprecated.
|
void |
reindexDocuments(String path)
Deprecated.
|
String |
reset()
Deprecated.
Reset the query fields.
|
void |
resetSearchField()
Deprecated.
|
String |
search()
Deprecated.
Request dispatcher.
|
void |
setNxql(String k)
Deprecated.
|
void |
setQueryErrorMsg(String msg)
Deprecated.
|
void |
setReindexPath(String path)
Deprecated.
Sets the current targeted reindexation path.
|
void |
setSearchType(String type)
Deprecated.
A page can set searchType by simply specifying a 'searchType' request
parameter with value
KEYWORDS or NXQL . |
void |
setSearchTypeId(String type)
Deprecated.
|
void |
setSimpleSearchKeywords(String k)
Deprecated.
|
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList
public static final String ACTION_PAGE_SEARCH_FORM
public static final String ACTION_PAGE_SEARCH_RESULTS
public static final String ACTION_PAGE_SEARCH_NO_KEYWORDS
public static final String ACTION_PAGE_SEARCH_QUERY_ERROR
@Deprecated public static final String QM_ADVANCED
@Deprecated public static final String QM_SIMPLE
@Deprecated public static final String PROV_NXQL
@BypassInterceptors public String getSimpleSearchKeywords()
getSimpleSearchKeywords
in interface SearchActions
public void setSimpleSearchKeywords(String k)
setSimpleSearchKeywords
in interface SearchActions
public String getNxql()
getNxql
in interface SearchActions
public void setNxql(String k)
setNxql
in interface SearchActions
@BypassInterceptors public String getSearchTypeId()
getSearchTypeId
in interface SearchActions
public void setSearchTypeId(String type)
setSearchTypeId
in interface SearchActions
public String getReindexPath()
getReindexPath
in interface SearchActions
public void setReindexPath(String path)
SearchActions
setReindexPath
in interface SearchActions
@RequestParameter(value="searchType") public void setSearchType(String type)
KEYWORDS
or NXQL
.@Observer(value="userAllDocumentTypesSelectionChanged", create=false) @BypassInterceptors public void resetSearchField()
resetSearchField
in interface SearchActions
public String getQueryErrorMsg()
getQueryErrorMsg
in interface SearchActions
public void setQueryErrorMsg(String msg)
setQueryErrorMsg
in interface SearchActions
@Begin(join=true) public String search()
SearchActions
search
in interface SearchActions
public String getLatestNxql()
getLatestNxql
in interface SearchActions
public String performSearch()
performSearch
in interface SearchActions
public List<DocumentModel> getResultDocuments(String providerName) throws ClientException
getResultDocuments
in interface SearchActions
ClientException
public String getDocumentLocation(DocumentModel doc)
getDocumentLocation
in interface SearchActions
public SelectDataModel getResultsSelectModel(String providerName) throws ClientException
getResultsSelectModel
in interface SearchActions
ClientException
@WebRemote public String processSelectRow(String selectedDocRef, String providerName, Boolean selection) throws ClientException
SearchActions
processSelectRow
in interface SearchActions
ClientException
public void processSelectRowEvent(SelectDataModelRowEvent event)
processSelectRowEvent
in interface SelectDataModelListener
@Factory(value="searchDocumentModel", scope=EVENT) public DocumentModel getDocumentModel() throws ClientException
getDocumentModel
in interface SearchActions
ClientException
@Deprecated public void reindexDocuments() throws ClientException
SearchActions
reindexDocuments
in interface SearchActions
ClientException
@Deprecated public void reindexDocuments(String path) throws ClientException
SearchActions
reindexDocuments
in interface SearchActions
ClientException
public String reset() throws ClientException
SearchActions
reset
in interface SearchActions
ClientException
public PagedDocumentsProvider getResultsProvider(String name) throws ClientException, ResultsProviderFarmUserException
getResultsProvider
in interface ResultsProviderFarm
name
- the name of the ResultsProvider instance to createClientException
ResultsProviderFarmUserException
public PagedDocumentsProvider getResultsProvider(String name, SortInfo sortInfo) throws ClientException, ResultsProviderFarmUserException
getResultsProvider
in interface ResultsProviderFarm
name
- the name of the ResultsProvider instance to createsortInfo
- an object containing the sort detailsClientException
ResultsProviderFarmUserException
@Observer(value="documentChildrenChanged", create=false) public void refreshCache()
SearchActions
refreshCache
in interface SearchActions
public boolean isReindexingAll()
SearchActions
isReindexingAll
in interface SearchActions
Copyright © 2011 Nuxeo SA. All Rights Reserved.