public class DataFetch extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_PAGE_SIZE |
static boolean |
ORDERBY_PATH |
| Constructor and Description |
|---|
DataFetch() |
| Modifier and Type | Method and Description |
|---|---|
DocumentModelList |
getAllChildren(CoreSession session,
DocumentModel doc) |
PageProvider<DocumentModel> |
getAllChildrenPaginated(CoreSession session,
DocumentModel doc) |
CoreQueryDocumentPageProvider |
getAllChildrenPaginated(CoreSession session,
DocumentModel doc,
long pageSize,
boolean orderByPath) |
String |
getChildrenDocQuery(DocumentModel doc,
boolean ordered) |
public static int DEFAULT_PAGE_SIZE
public static boolean ORDERBY_PATH
public DocumentModelList getAllChildren(CoreSession session, DocumentModel doc) throws ClientException, IOException
ClientExceptionIOExceptionpublic PageProvider<DocumentModel> getAllChildrenPaginated(CoreSession session, DocumentModel doc) throws ClientException
ClientExceptionpublic CoreQueryDocumentPageProvider getAllChildrenPaginated(CoreSession session, DocumentModel doc, long pageSize, boolean orderByPath) throws ClientException
ClientExceptionpublic String getChildrenDocQuery(DocumentModel doc, boolean ordered)
Copyright © 2014 Nuxeo SA. All Rights Reserved.