Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.contentbrowser
Class DocumentChildrenSearchFarm

java.lang.Object
  extended by org.nuxeo.ecm.webapp.base.InputController
      extended by 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

Constructor Summary
DocumentChildrenSearchFarm()
           
 
Method Summary
 PagedDocumentsProvider getResultsProvider(String name)
          Makes a new, fresh instance of the named results provider.
 PagedDocumentsProvider getResultsProvider(String name, SortInfo sortInfo)
           
 
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
 

Constructor Detail

DocumentChildrenSearchFarm

public DocumentChildrenSearchFarm()
Method Detail

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 create
sortInfo - an object containing the sort details
Throws:
ClientException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.