public interface Query
Modifier and Type | Interface and Description |
---|---|
static class |
Query.Type
Defines general query types.
|
Modifier and Type | Method and Description |
---|---|
QueryResult |
execute()
Makes a query to the backend.
|
QueryResult |
execute(boolean countTotal)
Makes a query to the backend.
|
QueryResult execute() throws QueryException
QueryException
FilterableQuery#execute(QueryFilter,boolean)}
QueryResult execute(boolean countTotal) throws QueryException
The total number of documents can also be retrieved, it is then stored in
the DocumentModelList
returned by
QueryResult.getDocumentModels()
.
countTotal
- if true
, also count the total number of
documents when no limit/offset is passedQueryException
FilterableQuery#execute(QueryFilter,boolean)}
Copyright © 2011 Nuxeo SA. All Rights Reserved.