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 for
ReporterScoreQuery
: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
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 Details
-
query
-
-
Constructor Details
-
ReporterScoreQueryWrapper
Create a new query wrapper.- Parameters:
query
- The query
-
-
Method Details
-
iterate
- Specified by:
iterate
in interfaceQueryWrapper<ReporterScore>
-
getId
CallsBasicData.getId()
.- Specified by:
getId
in interfaceQueryWrapper<ReporterScore>
- Parameters:
item
- The item
-
getData
public Object getData(DbControl dc, ExportedProperty exportedProperty, ReporterScore item) throws ExceptionUses 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.
-