|
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.beans.CMBResultSetCursor
This is the helper class for the CMBSearchResults bean. This class provides functions for cursor manipulation.
CMBSearchResults
, Serialized FormMethod Summary | |
void |
close()
Close the cursor and invalidates the result set. |
void |
deleteObject()
Deletes element at the current cursor position from the datastore |
void |
destroy()
Destroys the cursor. |
CMBItem |
fetchNext()
Sets cursor to point to the position of the next data object and fetches the element in the cursor at that position |
CMBItem |
fetchObject()
Fetches the element in the cursor at the current position |
CMBItem |
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 |
int |
getResultCount()
Gets the number of query results |
boolean |
isBegin()
Begin indicator |
boolean |
isEnd()
End indicator |
boolean |
isInBetween()
Between data objects in cursor indicator |
boolean |
isOpen()
Open indicator |
boolean |
isValid()
Valid indicator |
CMBItem |
newObject()
Constructs a new CMBItem of the same type as the items in the result |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public boolean isValid() throws java.lang.Exception
public boolean isOpen() throws CMBCursorNotValidException, java.lang.Exception
public boolean isBegin() throws CMBCursorNotValidException, java.lang.Exception
public boolean isEnd() throws CMBCursorNotValidException, java.lang.Exception
public boolean isInBetween() throws CMBCursorNotValidException, java.lang.Exception
public int getPosition() throws CMBCursorNotValidException, java.lang.Exception
public void setPosition(int position, java.lang.Object value) throws CMBCursorNotValidException, java.lang.Exception
position
- cursor position optionvalue
- cursor position valuepublic void setToNext() throws CMBCursorNotValidException, java.lang.Exception
public CMBItem fetchObject() throws CMBCursorNotValidException, java.lang.Exception
public CMBItem fetchNext() throws CMBCursorNotValidException, java.lang.Exception
public CMBItem findObject(int position, java.lang.String predicate) throws CMBCursorNotValidException, java.lang.Exception
public void deleteObject() throws CMBCursorNotValidException, java.lang.Exception
public CMBItem newObject() throws CMBCursorNotValidException, java.lang.Exception
public void close() throws CMBCursorNotValidException, java.lang.Exception
public void destroy() throws CMBCursorNotValidException, java.lang.Exception
public int getResultCount() throws CMBCursorNotValidException, java.lang.Exception
|
EIP JavaBeans | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |