public interface CollectionQuery<T>
A utility class for managing JPQL queries on collections.
Type Params | Return Type | Name and description |
---|---|---|
|
public java.util.List<T> |
findList()
|
|
public T |
findOne()
|
|
public CollectionQuery<T> |
params(java.util.Map<java.lang.String, java.lang.Object> params) |
|
public CollectionQuery<T> |
params(java.lang.Object positionalParams) |
|
public CollectionQuery<T> |
setFirstRow(int firstRow) Pagination method to set the first record to return |
|
public CollectionQuery<T> |
setMaxRows(int maxRows) Pagination method to set the limit the amount of rows to return |
Pagination method to set the first record to return
firstRow
- The number of the first rowPagination method to set the limit the amount of rows to return
maxRows
- The amount of rows to return