|
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
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.DKMessageId |
For details, see the class or interface |
Constructor Summary | |
dkAbstractResultSetCursor()
|
Method Summary | |
void |
addObject(DKDDO)
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)
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,
dkCollection)
Fetches the next N elements of the cursor and inserts them into the given collection |
boolean |
fetchNextNByName(java.lang.String,
int,
java.lang.Object[])
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)
Fetches the data item value in the cursor at the current position by data item name |
DKDDO |
findObject(int,
java.lang.String)
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)
Gets a cursor handle |
DKHandle |
handle(java.lang.String)
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[])
Opens the cursor. |
void |
setPosition(int,
java.lang.Object)
Sets the cursor position |
void |
setToNext()
Sets cursor to point to the position of the next data object in the cursor |
void |
updateObject(DKDDO)
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 |
Constructor Detail |
public dkAbstractResultSetCursor()
Method Detail |
public boolean isScrollable() throws DKException, java.lang.Exception
dkResultSetCursor
isScrollable
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isUpdatable() throws DKException, java.lang.Exception
dkResultSetCursor
isUpdatable
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isValid() throws DKException, java.lang.Exception
dkResultSetCursor
isValid
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isOpen() throws DKException, java.lang.Exception
dkResultSetCursor
isOpen
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isBegin() throws DKException, java.lang.Exception
dkResultSetCursor
isBegin
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isEnd() throws DKException, java.lang.Exception
dkResultSetCursor
isEnd
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean isInBetween() throws DKException, java.lang.Exception
dkResultSetCursor
isInBetween
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public int getPosition() throws DKException, java.lang.Exception
dkResultSetCursor
getPosition
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public void setPosition(int, java.lang.Object) throws DKException, java.lang.Exception
dkResultSetCursor
setPosition
in interface dkResultSetCursor
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 interface dkResultSetCursor
public DKDDO fetchObject() throws DKException, java.lang.Exception
dkResultSetCursor
fetchObject
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public DKDDO fetchNext() throws DKException, java.lang.Exception
dkResultSetCursor
fetchNext
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public boolean fetchNextN(int, dkCollection) throws DKException, java.lang.Exception
dkResultSetCursor
fetchNextN
in interface dkResultSetCursor
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) throws DKException, java.lang.Exception
dkResultSetCursor
fetchObjectByName
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
dataItemName
- data item namepublic java.lang.Object fetchNextByName(java.lang.String) throws DKException, java.lang.Exception
dkResultSetCursor
fetchNextByName
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
dataItemName
- data item namepublic boolean fetchNextNByName(java.lang.String, int, java.lang.Object[]) throws DKException, java.lang.Exception
dkResultSetCursor
fetchNextNByName
in interface dkResultSetCursor
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, java.lang.String) throws DKException, java.lang.Exception
dkResultSetCursor
Note:DKUsageError exception thrown if method is not implemented
findObject
in interface dkResultSetCursor
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 interface dkResultSetCursor
public void updateObject(DKDDO) throws DKException, java.lang.Exception
dkResultSetCursor
Note:DKUsageError exception thrown if method is not implemented
updateObject
in interface dkResultSetCursor
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 interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public void addObject(DKDDO) throws DKException, java.lang.Exception
dkResultSetCursor
Note:DKUsageError exception thrown if method is not implemented
addObject
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
ddo
- the ddo to addpublic void open() throws DKException, java.lang.Exception
dkResultSetCursor
open
in interface dkResultSetCursor
public void close() throws DKException, java.lang.Exception
dkResultSetCursor
close
in interface dkResultSetCursor
public void destroy() throws DKException, java.lang.Exception
dkResultSetCursor
destroy
in interface dkResultSetCursor
public void open(DKNVPair[]) throws DKException, java.lang.Exception
dkResultSetCursor
open
in interface dkResultSetCursor
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 interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public java.lang.String datastoreType() throws java.lang.Exception
dkResultSetCursor
datastoreType
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public DKHandle handle(int) throws java.lang.Exception
dkResultSetCursor
handle
in interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
type
- type of cursor handle wanteddkResultSetCursor.handle(java.lang.String)
public DKHandle handle(java.lang.String) throws java.lang.Exception
dkResultSetCursor
handle
in interface dkResultSetCursor
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 interface dkResultSetCursor
com.ibm.mm.sdk.common.dkResultSetCursor
public java.lang.String objectType() throws java.lang.Exception
dkResultSetCursor
objectType
in interface dkResultSetCursor
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 |