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: 2012-03-27 15:11:38 +0200 (ti, 27 mar 2012) $
  • Method Details

    • iterate

      ResultIterator<T> iterate(DbControl dc)
      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