|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.gre.samples.collectionhelpers.IRMQuery | +--com.ibm.gre.samples.collectionhelpers.IRMBatchQuery
The IRMBatchQuery class encapsulates the XML used to execute a Batch Life Cycle Query. There are methods for begininning the Asynchronous task and subsequent methods for determining the status and getting return values. See the documentation for the BatchControllerEJB interface in the com.ibm.gre.engine.ejb.facade package conatined in the IBM DB2 Records Manager API Reference.
Constructor Summary | |
---|---|
IRMBatchQuery(java.lang.String queryXML,
ClientSession session,
java.lang.String strScope,
boolean addDisplayInfo,
int optionalFieldsMask)
|
Method Summary | |
---|---|
java.lang.String |
getTaskId()
The ID of the current task. |
java.lang.String |
getTaskName()
The name of the current task |
void |
Initialize()
Call the Initialize method immediately after the class has been constructed to generate the internal representation of the query. |
int |
runQuery(int nBlockStart,
int nBlockSize)
Overrides the IRMQuery runQuery method. |
Methods inherited from class com.ibm.gre.samples.collectionhelpers.IRMQuery |
---|
getBlockSize, getBlockStart, getCondition, getFieldValue, getFlPlnCmpntDefName, getLine, getLineCount, getModifiedQuery, getQuery, getQueryResultOptions, getQueryType, getReportTemplate, getResultList, getSession, getTotalResults, setBlockSize, setBlockStart, setFieldValue |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IRMBatchQuery(java.lang.String queryXML, ClientSession session, java.lang.String strScope, boolean addDisplayInfo, int optionalFieldsMask) throws com.ibm.gre.engine.util.RecordManagerException, java.lang.Exception
Method Detail |
public void Initialize() throws java.lang.Exception
IRMQuery
Initialize
in class IRMQuery
java.lang.Exception
public int runQuery(int nBlockStart, int nBlockSize) throws java.lang.Exception
runQuery
in class IRMQuery
nBlockStart
- The index value return a block of values from. 0 indicates the first value.nBlockSize
- The number of values to return. 0 indicates return all values.
java.lang.Exception
public java.lang.String getTaskId()
public java.lang.String getTaskName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |