Nuxeo Enterprise Platform 5.4

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

All Known Subinterfaces:
DashboardActions, QueryModelActions, SearchActions
All Known Implementing Classes:
DashBoardActionsBean, 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(java.lang.String name)
          Deprecated. Makes a new, fresh instance of the named results provider.
 PagedDocumentsProvider getResultsProvider(java.lang.String name, SortInfo sortInfo)
          Deprecated.  
 

Method Detail

getResultsProvider

PagedDocumentsProvider getResultsProvider(java.lang.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(java.lang.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
Returns:
a PagedDocumentsProvider
Throws:
ClientException
ResultsProviderFarmUserException
SortNotSupportedException - if the provider cannot sort the result

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.