P - type of model persistent object.T - type of the transport object.F - type of the associated filter.S - type of the associated sort specification type.public class DaoPagedFindQuery<P extends Storable<?>,T extends Transportable<? super T,?>,F,S> extends ReadQuery<Page<T>>
| Constructor and Description |
|---|
DaoPagedFindQuery(F filter,
SortSpecification<S> sortSpec,
PageRequest request,
Dao<?,P,T,F,S> dao)
Creates a paged find query.
|
| Modifier and Type | Method and Description |
|---|---|
protected Page<T> |
execute(DataStoreContext context)
Executes the query.
|
public DaoPagedFindQuery(F filter, SortSpecification<S> sortSpec, PageRequest request, Dao<?,P,T,F,S> dao)
filter - filter to apply.sortSpec - sort specification.request - page request.dao - the DAO to carry out the operation.protected Page<T> execute(DataStoreContext context)
ReadQueryCopyright © 2014. All Rights Reserved.