2.17.2: 2011-06-17

net.sf.basedb.clients.web.plugins
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 the SimpleExport class to make it easier to interact with different types of queries.

Version:
2.2
Author:
nicklas
Last modified
$Date: 2009-04-21 11:29:09 +0200 (Tue, 21 Apr 2009) $

Method Summary
 int getId(T item)
          Get the ID of the specified item.
 ResultIterator<T> iterate()
          Get the ResultIterator for the query.
 
Methods inherited from interface net.sf.basedb.clients.web.plugins.DataLoader
getData
 

Method Detail

iterate

ResultIterator<T> iterate()
Get the ResultIterator 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

2.17.2: 2011-06-17