Interface QueryWrapper<T>
-
- All Superinterfaces:
DataLoader<T>
- All Known Implementing Classes:
DataQueryWrapper
,DynamicQueryWrapper
,ItemQueryWrapper
,ReporterScoreQueryWrapper
interface QueryWrapper<T> extends DataLoader<T>
A helper interface for theSimpleExport
class to make it easier to interact with different types of queries.- Version:
- 2.2
- Author:
- nicklas
- Last modified
- $Date: 2012-03-27 15:11:38 +0200 (ti, 27 mar 2012) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getId(T item)
Get the ID of the specified item.ResultIterator<T>
iterate(DbControl dc)
Get theResultIterator
for the query.-
Methods inherited from interface net.sf.basedb.clients.web.plugins.DataLoader
getData
-
-
-
-
Method Detail
-
iterate
ResultIterator<T> iterate(DbControl dc)
Get theResultIterator
for the query.
-
getId
int getId(T item)
Get the ID of the specified item. If the item doesn't have an ID a running number may be used. The important thing is that ID:s must be unique for each export.- Parameters:
item
- The item
-
-