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