Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.search
Class SearchResultsBean

java.lang.Object
  extended by org.nuxeo.ecm.webapp.base.InputController
      extended by org.nuxeo.ecm.webapp.search.SearchResultsBean
All Implemented Interfaces:
Serializable, EventListener, SelectDataModelListener, SearchResults

Deprecated. use DocumentSearchActions and content views instead

@Deprecated
@Name(value="searchResults")
@Scope(value=CONVERSATION)
public class SearchResultsBean
extends InputController
implements SearchResults, Serializable

Author:
George Lefter
See Also:
Serialized Form

Field Summary
static String SEARCH_DOCUMENT_LIST
          Deprecated.  
 
Constructor Summary
SearchResultsBean()
          Deprecated.  
 
Method Summary
 void destroy()
          Deprecated.  
 String downloadCSV()
          Deprecated.  
 PagedDocumentsProvider getProvider()
          Deprecated.  
 PagedDocumentsProvider getProvider(String providerName)
          Deprecated. Has the effect of setting the providerName field.
 List<DocumentModel> getResultDocuments(String providerName)
          Deprecated.  
 SelectDataModel getResultsSelectModel(String providerName)
          Deprecated.  
 SelectDataModel getResultsSelectModelAdvanced()
          Deprecated.  
 SelectDataModel getResultsSelectModelNxql()
          Deprecated.  
 SelectDataModel getResultsSelectModelSimple()
          Deprecated.  
 String getSortColumn()
          Deprecated.  
 void init()
          Deprecated. Declaration for [Seam]Create method.
 boolean isSortable()
          Deprecated.  
 boolean isSortAscending()
          Deprecated.  
 String processSelectRow(String selectedDocRef, String providerName, Boolean selection)
          Deprecated. This will be called with Seam remoting...
 void processSelectRowEvent(SelectDataModelRowEvent event)
          Deprecated.  
 void refreshSelectModels()
          Deprecated.  
 String repeatSearch()
          Deprecated.  
 void reset()
          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

SEARCH_DOCUMENT_LIST

public static final String SEARCH_DOCUMENT_LIST
Deprecated. 
See Also:
Constant Field Values
Constructor Detail

SearchResultsBean

public SearchResultsBean()
Deprecated. 
Method Detail

reset

public void reset()
Deprecated. 

init

public void init()
Deprecated. 
Description copied from interface: SearchResults
Declaration for [Seam]Create method.

Specified by:
init in interface SearchResults

destroy

public void destroy()
Deprecated. 
Specified by:
destroy in interface SearchResults

repeatSearch

public String repeatSearch()
                    throws ClientException
Deprecated. 
Specified by:
repeatSearch in interface SearchResults
Throws:
ClientException

getProvider

public PagedDocumentsProvider getProvider()
                                   throws ClientException
Deprecated. 
Throws:
ClientException

getProvider

public PagedDocumentsProvider getProvider(String providerName)
                                   throws ClientException
Deprecated. 
Has the effect of setting the providerName field.

Specified by:
getProvider in interface SearchResults
Throws:
ClientException

getSortColumn

public String getSortColumn()
                     throws ClientException
Deprecated. 
Specified by:
getSortColumn in interface SearchResults
Throws:
ClientException

isSortAscending

public boolean isSortAscending()
                        throws ClientException
Deprecated. 
Specified by:
isSortAscending in interface SearchResults
Throws:
ClientException

getResultDocuments

public List<DocumentModel> getResultDocuments(String providerName)
                                       throws ClientException
Deprecated. 
Throws:
ClientException

getResultsSelectModelAdvanced

@Factory(value="searchSelectModel_advanced",
         scope=EVENT)
public SelectDataModel getResultsSelectModelAdvanced()
                                              throws ClientException
Deprecated. 
Specified by:
getResultsSelectModelAdvanced in interface SearchResults
Throws:
ClientException

getResultsSelectModelNxql

@Factory(value="searchSelectModel_nxql",
         scope=EVENT)
public SelectDataModel getResultsSelectModelNxql()
                                          throws ClientException
Deprecated. 
Specified by:
getResultsSelectModelNxql in interface SearchResults
Throws:
ClientException

getResultsSelectModelSimple

@Factory(value="searchSelectModel_simple",
         scope=EVENT)
public SelectDataModel getResultsSelectModelSimple()
                                            throws ClientException
Deprecated. 
Specified by:
getResultsSelectModelSimple in interface SearchResults
Throws:
ClientException

refreshSelectModels

@Observer(value="documentChildrenChanged",
          create=false)
@BypassInterceptors
public void refreshSelectModels()
Deprecated. 

getResultsSelectModel

public SelectDataModel getResultsSelectModel(String providerName)
                                      throws ClientException
Deprecated. 
Specified by:
getResultsSelectModel in interface SearchResults
Throws:
ClientException

processSelectRow

@WebRemote
public String processSelectRow(String selectedDocRef,
                                         String providerName,
                                         Boolean selection)
                        throws ClientException
Deprecated. 
Description copied from interface: SearchResults
This will be called with Seam remoting...

Specified by:
processSelectRow in interface SearchResults
Throws:
ClientException

processSelectRowEvent

public void processSelectRowEvent(SelectDataModelRowEvent event)
Deprecated. 
Specified by:
processSelectRowEvent in interface SelectDataModelListener

isSortable

public boolean isSortable()
                   throws ClientException
Deprecated. 
Specified by:
isSortable in interface SearchResults
Throws:
ClientException

downloadCSV

public String downloadCSV()
                   throws ClientException
Deprecated. 
Specified by:
downloadCSV in interface SearchResults
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.