Item - the dto to paginatepublic abstract class BaseJpaRangeFinder<Item> extends Object implements org.seedstack.business.api.interfaces.finder.RangeFinder<Item,Map<String,Object>>
| Constructor and Description |
|---|
BaseJpaRangeFinder() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract long |
computeFullRequestSize(Map<String,Object> criteria)
Returns the total number of items available.
|
protected abstract List<Item> |
computeResultList(org.seedstack.business.api.interfaces.finder.Range range,
Map<String,Object> criteria)
Returns a sub list of items corresponding to the required range and criteria.
|
org.seedstack.business.api.interfaces.finder.Result<Item> |
find(org.seedstack.business.api.interfaces.finder.Range range,
Map<String,Object> criteria) |
protected void |
updateQuery(javax.persistence.Query query,
Map<String,Object> criteria) |
public org.seedstack.business.api.interfaces.finder.Result<Item> find(org.seedstack.business.api.interfaces.finder.Range range, Map<String,Object> criteria)
protected abstract List<Item> computeResultList(org.seedstack.business.api.interfaces.finder.Range range, Map<String,Object> criteria)
range - the rangecriteria - the criteriaprotected abstract long computeFullRequestSize(Map<String,Object> criteria)
criteria - the request criteriaCopyright © 2013-2015–2015. All rights reserved.