|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jpox.store.rdbms.request.Request
org.jpox.store.rdbms.request.FetchRequest
public class FetchRequest
Class to provide a means of selection of records from a data store. Extends basic request class implementing the execute method to do a JDBC select operation.
Field Summary |
---|
Fields inherited from class org.jpox.store.rdbms.request.Request |
---|
key, LOCALISER, table |
Constructor Summary | |
---|---|
FetchRequest(DatastoreClass table,
AbstractPropertyMetaData[] fieldMetaData,
java.lang.Class cls,
ClassLoaderResolver clr)
Constructor, taking the table. |
Method Summary | |
---|---|
void |
execute(StateManager sm)
Method performing the retrieval of the record from the datastore. |
Methods inherited from class org.jpox.store.rdbms.request.Request |
---|
executeQuery, executeUpdate, replaceParamPlaceholdersWithValues |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FetchRequest(DatastoreClass table, AbstractPropertyMetaData[] fieldMetaData, java.lang.Class cls, ClassLoaderResolver clr)
table
- The Class Table representing the datastore table to retrievefieldMetaData
- MetaData of the fields to retrievecls
- Class of objects being fetchedclr
- ClassLoader resolverMethod Detail |
---|
public void execute(StateManager sm)
execute
in class Request
sm
- The state manager for the record to be retrieved
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |