Class ReporterScoreQueryWrapper
- java.lang.Object
-
- net.sf.basedb.clients.web.plugins.ReporterScoreQueryWrapper
-
- All Implemented Interfaces:
DataLoader<ReporterScore>
,QueryWrapper<ReporterScore>
public class ReporterScoreQueryWrapper extends Object implements QueryWrapper<ReporterScore>
A query wrapper forReporterScoreQuery
:s.- Version:
- 2.2
- Author:
- nicklas
- Last modified
- $Date: 2012-09-14 12:29:16 +0200 (fr, 14 sep 2012) $
-
-
Field Summary
Fields Modifier and Type Field Description private ReporterScoreQuery
query
-
Constructor Summary
Constructors Constructor Description ReporterScoreQueryWrapper(ReporterScoreQuery query)
Create a new query wrapper.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getData(DbControl dc, ExportedProperty exportedProperty, ReporterScore item)
Uses aMetadata
object to get the value of the specified property.int
getId(ReporterScore item)
CallsBasicData.getId()
.ResultIterator<ReporterScore>
iterate(DbControl dc)
-
-
-
Field Detail
-
query
private final ReporterScoreQuery query
-
-
Constructor Detail
-
ReporterScoreQueryWrapper
public ReporterScoreQueryWrapper(ReporterScoreQuery query)
Create a new query wrapper.- Parameters:
query
- The query
-
-
Method Detail
-
iterate
public ResultIterator<ReporterScore> iterate(DbControl dc)
- Specified by:
iterate
in interfaceQueryWrapper<ReporterScore>
-
getId
public int getId(ReporterScore item)
CallsBasicData.getId()
.- Specified by:
getId
in interfaceQueryWrapper<ReporterScore>
- Parameters:
item
- The item
-
getData
public Object getData(DbControl dc, ExportedProperty exportedProperty, ReporterScore item) throws Exception
Uses aMetadata
object to get the value of the specified property.- Specified by:
getData
in interfaceDataLoader<ReporterScore>
exportedProperty
- The property to get the value foritem
- The item that holds the value- Throws:
Exception
- If failing to get the data.
-
-