interface Scrollable extends P2JQuery
Cursor
class must implement this interface. The methods allow a
cursor to fetch new records forward and backward to expand a progressively
updated results list.P2JQuery.Parameter
Modifier and Type | Method and Description |
---|---|
java.lang.Object[] |
peekNext()
Fetch the array of primary key IDs associated with the next result in
this query's result list.
|
java.lang.Object[] |
peekPrevious()
Fetch the array of primary key IDs associated with the previous result
in this query's result list.
|
_isOffEnd, addAccumulator, addAccumulator, addBuffer, addBuffer, addDynamicFilter, addRepositionListener, backward, backward, bufferHandle, bufferHandle, bufferHandle, bufferHandle, bufferHandle, changeForwardOnly, changeForwardOnly, cleanup, clearDynamicFilters, close, close, current, current, currentRow, currentRowImpl, deleteResultListEntry, deleteResultListEntry, exclude, first, first, forward, forward, forwardOnly, getCurrent, getCurrent, getCurrent, getCurrent, getCurrent, getCurrent, getCurrent, getCurrent, getFirst, getFirst, getFirst, getFirst, getFirst, getFirst, getFirst, getFirst, getJoin, getLast, getLast, getLast, getLast, getLast, getLast, getLast, getLast, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNext, getNumResults, getOffEnd, getOffEndListeners, getPrevious, getPrevious, getPrevious, getPrevious, getPrevious, getPrevious, getPrevious, getPrevious, getRecordBuffers, getTableCount, hasAny, hasAny, hasAny, hasAny, hasOne, hasOne, hasOne, hasOne, include, indexInformation, indexInformation, indexInformation, isBrowsed, isFetchOnReposition, isNativelyPreselect, isOffEnd, isOpen, isPreselect, isScrolling, isSkipDeletedRecord, isStandalone, last, last, next, next, notifyRepositionListeners, numBuffers, open, prepare, prepare, prepareString, previous, previous, queryBackward, queryBackward, queryClose, queryForward, queryForward, queryOpen, queryReposition, queryReposition, queryRepositionByID, releaseBuffers, removeRepositionListener, reposition, reposition, repositionByID, repositionByID, setBrowsed, setBuffers, setBuffers, setErrorIfNull, setExternalBuffers, setFetchOnReposition, setParameterFilter, setScrolling, setSkipDeletedRecord, setStandalone, size, unique, unique
java.lang.Object[] peekNext()
null
if there is no such result.java.lang.Object[] peekPrevious()
null
if there is no such result.