Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.webapp.contentbrowser
Class DocumentChildrenStdFarm

java.lang.Object
  extended by org.nuxeo.ecm.webapp.base.InputController
      extended by org.nuxeo.ecm.webapp.contentbrowser.DocumentChildrenStdFarm
All Implemented Interfaces:
Serializable, ResultsProviderFarm

@Name(value="documentChildrenFarm")
@Scope(value=SESSION)
public class DocumentChildrenStdFarm
extends InputController
implements ResultsProviderFarm, Serializable

Creates ResultsProvider for the children of the current document.

Author:
Dragos Mihalache
See Also:
Serialized Form

Field Summary
static String CHILDREN_BY_COREAPI
           
 
Constructor Summary
DocumentChildrenStdFarm()
           
 
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
 

Field Detail

CHILDREN_BY_COREAPI

public static final String CHILDREN_BY_COREAPI
See Also:
Constant Field Values
Constructor Detail

DocumentChildrenStdFarm

public DocumentChildrenStdFarm()
Method Detail

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

getResultsProvider

public PagedDocumentsProvider getResultsProvider(String name)
                                          throws ClientException,
                                                 ResultsProviderFarmUserException
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
ResultsProviderFarmUserException

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.