public interface Query<T extends BusinessObject>
BusinessObject
Modifier and Type | Method and Description |
---|---|
Query<T> |
and(Attribute element,
java.lang.Boolean ascending) |
Query<T> |
and(SearchExpression elm) |
<P extends BusinessObject> |
exist(Query<P> subQuery,
ForeignKeyAttribute element)
Combining the query with a subquery.
|
<P extends BusinessObject> |
exist(Query<P> subQuery,
ForeignKeyAttribute elementMainQuery,
ForeignKeyAttribute elementSubQuery)
Combining the query with a subquery.
|
Query<T> |
orderBy(Attribute element,
java.lang.Boolean ascending)
Use this method to set the Map of element that must be considered for ordering
Attach for each field a Boolean.TRUE for ascending a boolean.FALSE for descending ordering
|
Query<T> |
setChunkSize(java.lang.Long chunkSize) |
Query<T> |
setOffset(java.lang.Long offset)
Add offset and chunkSize for the search
|
Query<T> |
where(SearchExpression elm)
Add QueryExpressions for the search
|
Query<T> orderBy(Attribute element, java.lang.Boolean ascending)
Query<T> where(SearchExpression elm)
Query<T> and(SearchExpression elm)
<P extends BusinessObject> Query<T> exist(Query<P> subQuery, ForeignKeyAttribute element)
subQuery
- element
- <P extends BusinessObject> Query<T> exist(Query<P> subQuery, ForeignKeyAttribute elementMainQuery, ForeignKeyAttribute elementSubQuery)
subQuery
- elementMainQuery
- elementSubQuery
- Copyright © 2024. All rights reserved.