Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.platform.ui.web.api
Interface ResultsProviderFarm

All Known Subinterfaces:
QueryModelActions, SearchActions
All Known Implementing Classes:
DeleteActionsBean, DocumentChildrenSearchFarm, DocumentChildrenStdFarm, QueryModelActionsBean, SearchActionsBean

Deprecated. use ContentView instances in conjunction with PageProvider instead.

@Deprecated
public interface ResultsProviderFarm

A Results Provider Farm registers methods to create named PagedDocumentsProvider.

Typically, results provider implementations can vary a lot: we'll have the search service, the document repository. This interface allows to register and call factories for them.

Author:
Georges Racinet

Method Summary
 PagedDocumentsProvider getResultsProvider(String name)
          Deprecated. Makes a new, fresh instance of the named results provider.
 PagedDocumentsProvider getResultsProvider(String name, SortInfo sortInfo)
          Deprecated.  
 

Method Detail

getResultsProvider

PagedDocumentsProvider getResultsProvider(String name)
                                          throws ClientException,
                                                 ResultsProviderFarmUserException
Deprecated. 
Makes a new, fresh instance of the named results provider.

Parameters:
name - the name of the ResultsProvider instance to create
Returns:
a PagedDocumentsProvider
Throws:
ClientException
ResultsProviderFarmUserException

getResultsProvider

PagedDocumentsProvider getResultsProvider(String name,
                                          SortInfo sortInfo)
                                          throws ClientException,
                                                 ResultsProviderFarmUserException
Deprecated. 
Parameters:
name - the name of the ResultsProvider instance to create
sortInfo - an object containing the sort details
Throws:
ClientException
ResultsProviderFarmUserException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.