|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jbase.jremote.io.JSelectListImpl
com.jbase.jremote.io.JCursorImpl
public class JCursorImpl
A cursor to a jBASE file.
This object represents a list of jBASE file records.
Field Summary |
---|
Fields inherited from class com.jbase.jremote.io.JSelectListImpl |
---|
connection, cursorStartPos, data, FETCH_BACKWARD, FETCH_FORWARD, fetchSize |
Constructor Summary | |
---|---|
JCursorImpl(AbstractJRemoteConnection connection,
JSelectListProt data)
Constructs a cursor from a serializable select list. |
Method Summary | |
---|---|
void |
close()
Close cursor. |
JDynArray |
getRecord()
Returns the current record. |
boolean |
hasNext()
Returns whether it is possible to move the cursor forwards. |
boolean |
hasPrevious()
Returns whether it is possible to move the cursor backwards. |
boolean |
next()
Move cursor to next item |
boolean |
previous()
Move cursor to previous item |
void |
setRecord(JDynArray record)
Modifies the current record. |
void |
update()
Update changes. |
Methods inherited from class com.jbase.jremote.io.JSelectListImpl |
---|
fetchNext, fetchPrevious, getData, getFetchSize, getKey, getPosition, goToPosition, hasNext, hasPrevious, iterator, next, previous, setConnection, setFetchSize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.jbase.jremote.JSelectList |
---|
getFetchSize, getKey, getPosition, goToPosition, iterator, setFetchSize |
Constructor Detail |
---|
public JCursorImpl(AbstractJRemoteConnection connection, JSelectListProt data)
connection
- Connection handle used to fetch records from the serverdata
- Serializable select listMethod Detail |
---|
public boolean next() throws JRemoteException
next
in interface JSelectList
next
in class JSelectListImpl
JRemoteException
JSelectList.next()
public boolean previous() throws JRemoteException
previous
in interface JSelectList
previous
in class JSelectListImpl
JRemoteException
JSelectList.previous()
public boolean hasNext() throws JRemoteException
hasNext
in interface JSelectList
hasNext
in class JSelectListImpl
JRemoteException
JSelectList.hasNext()
public boolean hasPrevious() throws JRemoteException
hasPrevious
in interface JSelectList
hasPrevious
in class JSelectListImpl
JRemoteException
JSelectList.hasPrevious()
public void close() throws JRemoteException
close
in interface JSelectList
close
in class JSelectListImpl
JRemoteException
JSelectList.close()
public JDynArray getRecord()
JCursor
getRecord
in interface JCursor
JCursor.getRecord()
public void setRecord(JDynArray record)
JCursor
setRecord
in interface JCursor
JCursor.setRecord(com.jbase.jremote.JDynArray)
public void update() throws JRemoteException
JCursor
update
in interface JCursor
JRemoteException
JCursor.update()
|
jremote jbase5.2.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |