org.nuxeo.ecm.webapp.contentbrowser
Class DocumentChildrenSearchFarm
java.lang.Object
org.nuxeo.ecm.webapp.base.InputController
org.nuxeo.ecm.webapp.contentbrowser.DocumentChildrenSearchFarm
- All Implemented Interfaces:
- Serializable, ResultsProviderFarm
@Name(value="documentChildrenSearchFarm")
@Scope(value=SESSION)
public class DocumentChildrenSearchFarm
- extends InputController
- implements ResultsProviderFarm, Serializable
Creates ResultsProvider for the children of the current document using
SearchService.
- Author:
- Dragos Mihalache
- See Also:
- Serialized Form
DocumentChildrenSearchFarm
public DocumentChildrenSearchFarm()
getResultsProvider
public PagedDocumentsProvider getResultsProvider(String name)
throws ClientException
- Description copied from interface:
ResultsProviderFarm
- Makes a new, fresh instance of the named results provider.
- Specified by:
getResultsProvider
in interface ResultsProviderFarm
- Parameters:
name
- the name of the ResultsProvider instance to create
- Returns:
- a PagedDocumentsProvider
- Throws:
ClientException
getResultsProvider
public PagedDocumentsProvider getResultsProvider(String name,
SortInfo sortInfo)
throws ClientException
- Specified by:
getResultsProvider
in interface ResultsProviderFarm
- Parameters:
name
- the name of the ResultsProvider instance to createsortInfo
- an object containing the sort details
- Throws:
ClientException
Copyright © 2011 Nuxeo SAS. All Rights Reserved.