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
ClientException
IOException
public PageProvider<DocumentModel> getAllChildrenPaginated(CoreSession session, DocumentModel doc) throws ClientException
ClientException
public CoreQueryDocumentPageProvider getAllChildrenPaginated(CoreSession session, DocumentModel doc, long pageSize, boolean orderByPath) throws ClientException
ClientException
public String getChildrenDocQuery(DocumentModel doc, boolean ordered)
Copyright © 2015 Nuxeo SA. All rights reserved.