|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.basedb.clients.web.plugins.ReporterScoreQueryWrapper
public class ReporterScoreQueryWrapper
A query wrapper for ReporterScoreQuery
:s.
Field Summary | |
---|---|
private DbControl |
dc
|
private ReporterScoreQuery |
query
|
Constructor Summary | |
---|---|
ReporterScoreQueryWrapper(DbControl dc,
ReporterScoreQuery query)
Create a new query wrapper. |
Method Summary | |
---|---|
Object |
getData(ExportedProperty exportedProperty,
ReporterScore item)
Uses a Metadata object to get the value of the specified property. |
int |
getId(ReporterScore item)
Calls BasicData.getId() . |
ResultIterator<ReporterScore> |
iterate()
Calls ReporterScoreQuery.iterate(DbControl) |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final ReporterScoreQuery query
private final DbControl dc
Constructor Detail |
---|
public ReporterScoreQueryWrapper(DbControl dc, ReporterScoreQuery query)
dc
- The DbControl used to execute the queryquery
- The queryMethod Detail |
---|
public ResultIterator<ReporterScore> iterate()
ReporterScoreQuery.iterate(DbControl)
iterate
in interface QueryWrapper<ReporterScore>
public int getId(ReporterScore item)
BasicData.getId()
.
getId
in interface QueryWrapper<ReporterScore>
item
- The itempublic Object getData(ExportedProperty exportedProperty, ReporterScore item) throws Exception
Metadata
object to get the value of the specified property.
getData
in interface DataLoader<ReporterScore>
exportedProperty
- The property to get the value foritem
- The item that holds the value
Exception
- If failing to get the data.
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |