|
2.8.0: 2008-09-08 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
interface QueryWrapper<T>
A helper interface for the SimpleExport
class to make it
easier to interact with different types of queries.
Method Summary | |
---|---|
Object |
getData(ExportedProperty exportedProperty,
T item)
Get the value for the specified property. |
int |
getId(T item)
Get the ID of the specified item. |
ResultIterator<T> |
iterate()
Get the ResultIterator for the query. |
Method Detail |
---|
ResultIterator<T> iterate()
ResultIterator
for the query.
int getId(T item)
item
- The itemObject getData(ExportedProperty exportedProperty, T item) throws Exception
exportedProperty
- The property to get the value foritem
- The item that holds the value
Exception
- If failing to get the data.
|
2.8.0: 2008-09-08 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |