|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.nuxeo.ecm.webapp.base.InputController
org.nuxeo.ecm.webapp.search.SearchActionsBean
DocumentSearchActions
and content views instead
@Deprecated @Name(value="searchActions") @Scope(value=CONVERSATION) public class SearchActionsBean
Backing bean for search actions. Provides functions to perform a search based on different query types, to retrieve results and handle selections.
Field Summary | |
---|---|
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. |
Fields inherited from interface org.nuxeo.ecm.webapp.search.SearchActions |
---|
SEARCH_DOCUMENT_LIST |
Constructor Summary | |
---|---|
SearchActionsBean()
Deprecated. |
Method Summary | |
---|---|
void |
destroy()
Deprecated. |
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. |
void |
init()
Deprecated. Declaration for [Seam]Create method. |
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 |
readState()
Deprecated. Activate method. |
void |
refreshCache()
Deprecated. Refresh cache |
void |
reindexDocuments()
Deprecated. |
void |
reindexDocuments(String path)
Deprecated. |
String |
reset()
Deprecated. Reset the query fields. |
void |
resetSearchField()
Deprecated. |
void |
saveState()
Deprecated. Passivate method. |
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. |
Methods inherited from class org.nuxeo.ecm.webapp.base.InputController |
---|
computeOutcome, getAdministrator, logDocumentWithName, logDocumentWithTitle, removeDocumentFromList |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Constructor Detail |
---|
public SearchActionsBean()
Method Detail |
---|
public void init()
SearchActions
init
in interface SearchActions
public void destroy()
destroy
in interface SearchActions
public void saveState()
StatefulBaseLifeCycle
saveState
in interface StatefulBaseLifeCycle
public void readState()
StatefulBaseLifeCycle
readState
in interface StatefulBaseLifeCycle
@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 create
ClientException
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 details
ClientException
ResultsProviderFarmUserException
@Observer(value="documentChildrenChanged", create=false) public void refreshCache()
SearchActions
refreshCache
in interface SearchActions
public boolean isReindexingAll()
SearchActions
isReindexingAll
in interface SearchActions
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |