public class NuxeoDriveScrollDescendants extends Object
batchSize descendants of the FolderItem with the given id for the currently
authenticated user and the given scrollId.
When passing a null scrollId the initial search request is executed and the first batch of results is
returned along with a scrollId which should be passed to the next call in order to retrieve the next batch of
results.
Ideally, the search context made available by the initial search request is kept alive during keepAlive
milliseconds if keepAlive is positive.
Results are not necessarily sorted.
| Modifier and Type | Field and Description |
|---|---|
protected int |
batchSize |
protected OperationContext |
ctx |
protected String |
id |
static String |
ID |
protected long |
keepAlive |
protected String |
scrollId |
| Constructor and Description |
|---|
NuxeoDriveScrollDescendants() |
| Modifier and Type | Method and Description |
|---|---|
Blob |
run() |
protected Blob |
writeJSONBlob(ScrollFileSystemItemList scrollFSIList) |
public static final String ID
protected OperationContext ctx
protected int batchSize
protected long keepAlive
public NuxeoDriveScrollDescendants()
public Blob run() throws IOException
IOExceptionprotected Blob writeJSONBlob(ScrollFileSystemItemList scrollFSIList) throws IOException
IOExceptionCopyright © 2018 Nuxeo. All rights reserved.