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 |
---|---|
protected static String |
baseRequest()
Exclude documents:
from user workspaces
that are deleted (in trash)
that stand in user workspace
|
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 DataFetch()
public DocumentModelList getAllChildren(CoreSession session, DocumentModel doc) throws IOException
IOException
public PageProvider<DocumentModel> getAllChildrenPaginated(CoreSession session, DocumentModel doc)
public CoreQueryDocumentPageProvider getAllChildrenPaginated(CoreSession session, DocumentModel doc, long pageSize, boolean orderByPath)
public String getChildrenDocQuery(DocumentModel doc, boolean ordered)
protected static String baseRequest()
Copyright © 2015 Nuxeo SA. All rights reserved.