public abstract class ScrollableQueryCallback<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected javax.jcr.query.QueryResult |
stepResult |
| Constructor and Description |
|---|
ScrollableQueryCallback() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract T |
getResult()
When the ScrollableQuery stop to scroll, he call this this method to return the result of the callback
|
abstract boolean |
scroll()
While this method return true, the ScrollableQuery will re execute the query and refresh the stepResult
|
protected void |
setStepResult(javax.jcr.query.QueryResult stepResult) |
protected void setStepResult(javax.jcr.query.QueryResult stepResult)
public abstract boolean scroll()
throws javax.jcr.RepositoryException
javax.jcr.RepositoryException - in case of JCR-related errorsprotected abstract T getResult()
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.