Package org.nuxeo.ecm.core.api
Class ScrollResultImpl<T>
java.lang.Object
org.nuxeo.ecm.core.api.ScrollResultImpl<T>
- All Implemented Interfaces:
ScrollResult<T>
- Since:
- 8.4
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <O> ScrollResult<O>
Returns the list of resultsReturns the scroll identifier, which can be passed to CoreSession.scroll(String scrollId) to get more results.boolean
Returnstrue
when thisScrollResult
contains results.
-
Field Details
-
EMPTY_RESULT
-
scrollId
-
results
-
-
Constructor Details
-
ScrollResultImpl
-
-
Method Details
-
emptyResult
-
getScrollId
Description copied from interface:ScrollResult
Returns the scroll identifier, which can be passed to CoreSession.scroll(String scrollId) to get more results.- Specified by:
getScrollId
in interfaceScrollResult<T>
-
hasResults
public boolean hasResults()Description copied from interface:ScrollResult
Returnstrue
when thisScrollResult
contains results.- Specified by:
hasResults
in interfaceScrollResult<T>
-
getResults
Description copied from interface:ScrollResult
Returns the list of results- Specified by:
getResults
in interfaceScrollResult<T>
-