|
Enterprise Information Portal APIs |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.mm.sdk.server.dkAbstractResultSetCursor | +--com.ibm.mm.sdk.server.DKResultSetCursorDJ
Fields inherited from interface com.ibm.mm.sdk.common.DKConstant |
For details, see the class or interface |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageIdDJ |
DK_DJ_MSG_MSGID_NOT_FOUND |
Fields inherited from interface com.ibm.mm.sdk.common.DKMessageId |
For details, see the class or interface |
Method Summary | |
void |
addObject(DKDDO ddo)
Adds an element to the datastore |
int |
cardinality()
Gets the number of query results if supported. |
void |
close()
Close the cursor and invalidates the result set. |
java.lang.String |
datastoreName()
Gets the datastore name |
java.lang.String |
datastoreType()
Gets the datastore type |
void |
deleteObject()
Deletes element at the current cursor position from the datastore |
void |
destroy()
Destroys the cursor. |
DKDDO |
fetchNext()
Sets cursor to point to the position of the next data object and fetches the element in the cursor at that position |
java.lang.Object |
fetchNextByName(java.lang.String dataItemName)
Sets cursor to point to the position of the next data object and fetches the data item value in the cursor at that position by data item name. |
boolean |
fetchNextN(int how_many,
dkCollection collection)
Fetches the next N elements of the cursor and inserts them into the given collection |
boolean |
fetchNextNByName(java.lang.String dataItemName,
int how_many,
java.lang.Object[] array)
Fetches the next N data item values of the cursor and inserts them into the given array |
DKDDO |
fetchObject()
Fetches the element in the cursor at the current position |
java.lang.Object |
fetchObjectByName(java.lang.String dataItemName)
Fetches the data item value in the cursor at the current position by data item name |
DKDDO |
findObject(int position,
java.lang.String predicate)
Find the data object which satisfies the given predicate, move the cursor to that position, fetch |
int |
getPosition()
Gets the current cursor position |
DKHandle |
handle(int type)
Gets a cursor handle |
DKHandle |
handle(java.lang.String type)
Gets a cursor handle |
boolean |
isBegin()
Begin indicator |
boolean |
isEnd()
End indicator |
boolean |
isInBetween()
Between data objects in cursor indicator |
boolean |
isOpen()
Open indicator |
boolean |
isScrollable()
Scrollable indicator |
boolean |
isUpdatable()
Updatable indicator |
boolean |
isValid()
Valid indicator |
DKDDO |
newObject()
Constructs a new DDO of the same type as the items in the result |
java.lang.String |
objectType()
Gets the cursor object type |
void |
open()
Opens the cursor. |
void |
open(DKNVPair[] parms)
Opens the cursor. |
void |
setPosition(int position,
java.lang.Object value)
Sets the cursor position |
void |
setToNext()
Sets cursor to point to the position of the next data object in the cursor |
void |
updateObject(DKDDO ddo)
Updates element at the current cursor position from the datastore |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean isScrollable() throws DKException, java.lang.Exception
dkResultSetCursor
isScrollable
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isUpdatable() throws DKException, java.lang.Exception
dkResultSetCursor
isUpdatable
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isValid() throws DKException, java.lang.Exception
dkResultSetCursor
isValid
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isOpen() throws DKException, java.lang.Exception
dkResultSetCursor
isOpen
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isBegin() throws DKException, java.lang.Exception
dkResultSetCursor
isBegin
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isEnd() throws DKException, java.lang.Exception
dkResultSetCursor
isEnd
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isInBetween() throws DKException, java.lang.Exception
dkResultSetCursor
isInBetween
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public int getPosition() throws DKException, java.lang.Exception
dkResultSetCursor
getPosition
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public void setPosition(int position, java.lang.Object value) throws DKException, java.lang.Exception
dkResultSetCursor
setPosition
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
position
- cursor position option
value
- cursor position value (optional). This value should be
set when the position is DK_CM_ABSOLUTE or DK_CM_RELATIVE. This value
is an Integer value.public void setToNext() throws DKException, java.lang.Exception
dkResultSetCursor
setToNext
in class dkAbstractResultSetCursor
public DKDDO fetchObject() throws DKException, java.lang.Exception
dkResultSetCursor
fetchObject
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public DKDDO fetchNext() throws DKException, java.lang.Exception
dkResultSetCursor
fetchNext
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean fetchNextN(int how_many, dkCollection collection) throws DKException, java.lang.Exception
dkResultSetCursor
fetchNextN
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
how_many
- how many elements the user wants to be returned
in the collection.collection
- the collection where elements that are fetched
are stored.public java.lang.Object fetchObjectByName(java.lang.String dataItemName) throws DKException, java.lang.Exception
dkResultSetCursor
fetchObjectByName
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
dataItemName
- data item namepublic java.lang.Object fetchNextByName(java.lang.String dataItemName) throws DKException, java.lang.Exception
dkResultSetCursor
fetchNextByName
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
dataItemName
- data item namepublic boolean fetchNextNByName(java.lang.String dataItemName, int how_many, java.lang.Object[] array) throws DKException, java.lang.Exception
dkResultSetCursor
fetchNextNByName
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
dataItemName
- data item namehow_many
- how many data item values the user wants to be
returned in the collection.array
- the array where the data item values that are fetched
are stored.public DKDDO findObject(int position, java.lang.String predicate) throws DKException, java.lang.Exception
dkResultSetCursor
Note:DKUsageError exception thrown if method is not implemented
findObject
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
position
- cursor positionpredicate
- search predicate.public void deleteObject() throws DKException, java.lang.Exception
dkResultSetCursor
Note:DKUsageError exception thrown if method is not implemented
deleteObject
in class dkAbstractResultSetCursor
public void updateObject(DKDDO ddo) throws DKException, java.lang.Exception
dkResultSetCursor
Note:DKUsageError exception thrown if method is not implemented
updateObject
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
ddo
- the ddo to updatepublic DKDDO newObject() throws DKException, java.lang.Exception
dkResultSetCursor
Note:DKUsageError exception thrown if method is not implemented
newObject
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public void addObject(DKDDO ddo) throws DKException, java.lang.Exception
dkResultSetCursor
Note:DKUsageError exception thrown if method is not implemented
addObject
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
ddo
- the ddo to addpublic void open() throws DKException, java.lang.Exception
dkResultSetCursor
open
in class dkAbstractResultSetCursor
public void close() throws DKException, java.lang.Exception
dkResultSetCursor
close
in class dkAbstractResultSetCursor
public void destroy() throws DKException, java.lang.Exception
dkResultSetCursor
destroy
in class dkAbstractResultSetCursor
public void open(DKNVPair[] parms) throws DKException, java.lang.Exception
dkResultSetCursor
open
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
parms
- allows for parameters to be passed
in for the reexecution of the query.public java.lang.String datastoreName() throws java.lang.Exception
dkResultSetCursor
datastoreName
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public java.lang.String datastoreType() throws java.lang.Exception
dkResultSetCursor
datastoreType
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public DKHandle handle(int type) throws java.lang.Exception
dkResultSetCursor
handle
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
type
- type of cursor handle wanteddkResultSetCursor.handle(java.lang.String)
public DKHandle handle(java.lang.String type) throws java.lang.Exception
dkResultSetCursor
handle
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
type
- type of cursor handle wantedpublic int cardinality() throws DKException, java.lang.Exception
dkResultSetCursor
Note:DKUsageError exception thrown if method is not implemented
cardinality
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public java.lang.String objectType() throws java.lang.Exception
dkResultSetCursor
objectType
in class dkAbstractResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
|
EIP Java APIs | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |