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