private static class QueryWrapper.DefaultDelegate extends java.lang.Object implements P2JQuery
P2JQuery
which is used as the
default delegate for the enclosing QueryWrapper
. This
implementation behaves as a query which returns no results would,
except that its isValid
method returns false
,
as an indication that it is a "fake" query for those callers to whom
this information is relevant.P2JQuery.Parameter
Modifier | Constructor and Description |
---|---|
private |
DefaultDelegate() |
Modifier and Type | Method and Description |
---|---|
boolean |
_isOffEnd()
Default implementation which reports the query is off-end.
|
void |
addAccumulator(Accumulator accum)
No-op.
|
void |
addAccumulator(Accumulator accum,
boolean deferred)
No-op.
|
logical |
addBuffer(Buffer buf)
Adds one new buffer to a query object or dynamic ProDataSet object,
without affecting the other buffers, if any.
|
logical |
addBuffer(handle bufHandle)
Adds one new buffer to a query object or dynamic ProDataSet object,
without affecting the other buffers, if any.
|
void |
addRepositionListener(RepositionListener listener)
No-op.
|
boolean |
backward(int rows)
No-op.
|
boolean |
backward(NumberType rows)
No-op.
|
handle |
bufferHandle()
Conversion of GET-BUFFER-HANDLE() method (KW_GET_BUFH).
|
handle |
bufferHandle(character bufferName)
Conversion of GET-BUFFER-HANDLE() method (KW_GET_BUFH).
|
handle |
bufferHandle(int bufferSequenceNumber)
Conversion of GET-BUFFER-HANDLE() method (KW_GET_BUFH).
|
handle |
bufferHandle(integer bufferSequenceNumber)
Conversion of GET-BUFFER-HANDLE() method (KW_GET_BUFH).
|
handle |
bufferHandle(java.lang.String bufferName)
Conversion of GET-BUFFER-HANDLE() method (KW_GET_BUFH).
|
void |
changeForwardOnly(boolean forwardOnly)
Conversion of FORWARD-ONLY attribute (KW_FWD_ONLY).
|
void |
changeForwardOnly(logical forwardOnly)
Conversion of FORWARD-ONLY attribute (KW_FWD_ONLY).
|
void |
cleanup()
No-op.
|
void |
close()
No-op.
|
void |
current()
No-op.
|
void |
current(LockType lockType)
No-op.
|
integer |
currentRow()
Default implementation which reports unknown value as the current
row to indicate an empty results list.
|
integer |
currentRowImpl()
Default implementation which reports unknown value as the current
row to indicate an empty results list.
|
logical |
deleteResultListEntry()
No-op.
|
logical |
deleteResultListEntry(boolean allowBetweenRows)
No-op.
|
void |
exclude(DataModelObject dmo,
java.lang.String... fields)
No-op.
|
void |
first()
No-op.
|
void |
first(LockType lockType)
No-op.
|
boolean |
forward(int rows)
No-op.
|
boolean |
forward(NumberType rows)
No-op.
|
logical |
forwardOnly()
Conversion of FORWARD-ONLY attribute (KW_FWD_ONLY).
|
logical |
getCurrent()
Conversion of GET-CURRENT() method (KW_GET_CUR).
|
logical |
getCurrent(LockType lockType)
Conversion of GET-CURRENT() method (KW_GET_CUR).
|
logical |
getCurrent(long lock)
Conversion of GET-CURRENT() method (KW_GET_CUR).
|
logical |
getCurrent(long lock,
long nowait)
Conversion of GET-CURRENT() method (KW_GET_CUR).
|
logical |
getCurrent(long lock,
NumberType nowait)
Conversion of GET-CURRENT() method (KW_GET_CUR).
|
logical |
getCurrent(NumberType lock)
Conversion of GET-CURRENT() method (KW_GET_CUR).
|
logical |
getCurrent(NumberType lock,
long nowait)
Conversion of GET-CURRENT() method (KW_GET_CUR).
|
logical |
getCurrent(NumberType lock,
NumberType nowait)
Conversion of GET-CURRENT() method (KW_GET_CUR).
|
logical |
getFirst()
Conversion of GET-FIRST method (KW_GET_1ST).
|
logical |
getFirst(LockType lockType)
Conversion of GET-FIRST method (KW_GET_1ST).
|
logical |
getFirst(long lock)
Conversion of GET-FIRST method (KW_GET_1ST).
|
logical |
getFirst(long lock,
long nowait)
Conversion of GET-FIRST method (KW_GET_1ST).
|
logical |
getFirst(long lock,
NumberType nowait)
Conversion of GET-FIRST method (KW_GET_1ST).
|
logical |
getFirst(NumberType lock)
Conversion of GET-FIRST method (KW_GET_1ST).
|
logical |
getFirst(NumberType lock,
long nowait)
Conversion of GET-FIRST method (KW_GET_1ST).
|
logical |
getFirst(NumberType lock,
NumberType nowait)
Conversion of GET-FIRST method (KW_GET_1ST).
|
logical |
getLast()
Conversion of GET-LAST method (KW_GET_LAST).
|
logical |
getLast(LockType lockType)
Conversion of GET-LAST method (KW_GET_LAST).
|
logical |
getLast(long lock)
Conversion of GET-LAST method (KW_GET_LAST).
|
logical |
getLast(long lock,
long nowait)
Conversion of GET-LAST method (KW_GET_LAST).
|
logical |
getLast(long lock,
NumberType nowait)
Conversion of GET-LAST method (KW_GET_LAST).
|
logical |
getLast(NumberType lock)
Conversion of GET-LAST method (KW_GET_LAST).
|
logical |
getLast(NumberType lock,
long nowait)
Conversion of GET-LAST method (KW_GET_LAST).
|
logical |
getLast(NumberType lock,
NumberType nowait)
Conversion of GET-LAST method (KW_GET_LAST).
|
logical |
getNext()
Conversion of GET-NEXT method (KW_GET_NEXT).
|
logical |
getNext(LockType lockType)
Conversion of GET-NEXT method (KW_GET_NEXT).
|
logical |
getNext(long lock)
Conversion of GET-NEXT method (KW_GET_NEXT).
|
logical |
getNext(long lock,
long nowait)
Conversion of GET-NEXT method (KW_GET_NEXT).
|
logical |
getNext(long lock,
NumberType nowait)
Conversion of GET-NEXT method (KW_GET_NEXT).
|
logical |
getNext(NumberType lock)
Conversion of GET-NEXT method (KW_GET_NEXT).
|
logical |
getNext(NumberType lock,
long nowait)
Conversion of GET-NEXT method (KW_GET_NEXT).
|
logical |
getNext(NumberType lock,
NumberType nowait)
Conversion of GET-NEXT method (KW_GET_NEXT).
|
integer |
getNumResults()
Conversion of NUM-RESULTS attribute (KW_NUM_RES).
|
OffEnd |
getOffEnd()
Default implementation which reports that the query has the front
off-end.
|
java.util.List<QueryOffEndListener> |
getOffEndListeners()
Get all the off-end listeners associated with this query.
|
logical |
getPrevious()
Conversion of GET-PREV method (KW_GET_PREV).
|
logical |
getPrevious(LockType lockType)
Conversion of GET-PREV method (KW_GET_PREV).
|
logical |
getPrevious(long lock)
Conversion of GET-PREV method (KW_GET_PREV).
|
logical |
getPrevious(long lock,
long nowait)
Conversion of GET-PREV method (KW_GET_PREV).
|
logical |
getPrevious(long lock,
NumberType nowait)
Conversion of GET-PREV method (KW_GET_PREV).
|
logical |
getPrevious(NumberType lock)
Conversion of GET-PREV method (KW_GET_PREV).
|
logical |
getPrevious(NumberType lock,
long nowait)
Conversion of GET-PREV method (KW_GET_PREV).
|
logical |
getPrevious(NumberType lock,
NumberType nowait)
Conversion of GET-PREV method (KW_GET_PREV).
|
int |
getTableCount()
Get the number of tables joined by this query.
|
logical |
hasAny()
Indicate whether a request to find the first result of this query would
succeed or fail.
|
logical |
hasAny(LockType lockType)
Indicate whether a request to find the first result of this query would
succeed or fail.
|
logical |
hasAny(java.lang.Object[] values)
Indicate whether a request to find the first result of this query would
succeed or fail.
|
logical |
hasAny(java.lang.Object[] values,
LockType lockType)
Indicate whether a request to find the first result of this query would
succeed or fail.
|
logical |
hasOne()
Indicate whether this query would produce a unique result.
|
logical |
hasOne(LockType lockType)
Indicate whether this query would produce a unique result.
|
logical |
hasOne(java.lang.Object[] values)
Indicate whether this query would produce a unique result.
|
logical |
hasOne(java.lang.Object[] values,
LockType lockType)
Indicate whether this query would produce a unique result.
|
void |
include(DataModelObject dmo,
java.lang.String... fields)
No-op.
|
character |
indexInformation()
Conversion of INDEX-INFORMATION attribute (KW_IDX_INFO).
|
character |
indexInformation(int n)
Conversion of INDEX-INFORMATION attribute (KW_IDX_INFO).
|
character |
indexInformation(NumberType n)
Conversion of INDEX-INFORMATION attribute (KW_IDX_INFO).
|
boolean |
isBrowsed()
Is this query associated with a browse widget or not?
|
boolean |
isFetchOnReposition()
Default implementation which reports query is not set to fetch the
next record after a reposition.
|
boolean |
isNativelyPreselect()
Indicate whether this query is a preselect query by its nature.
|
logical |
isOffEnd()
Default implementation which reports the query is off-end.
|
logical |
isOpen()
Conversion of IS-OPEN attribute (KW_IS_OPEN).
|
boolean |
isPreselect()
Indicate whether this query preselects all of its results.
|
boolean |
isScrolling()
Indicate whether this query was defined as SCROLLING.
|
logical |
isSkipDeletedRecord()
Get value of SKIP-DELETED-RECORD attribute of the query.
|
boolean |
isStandalone()
Indicate whether this query stands alone, or is the component of
another query, or is wrapped by a query wrapper.
|
void |
last()
No-op.
|
void |
last(LockType lockType)
No-op.
|
void |
next()
No-op.
|
void |
next(LockType lockType)
No-op.
|
void |
notifyRepositionListeners(boolean closed,
boolean error,
int targetRepositionRow)
No-op.
|
integer |
numBuffers()
Conversion of NUM-BUFFERS() method (KW_NUM_BUFF).
|
void |
open()
No-op.
|
void |
optimize()
No-op.
|
logical |
prepare(character predicate)
Compiles a predicate (query condition).
|
logical |
prepare(java.lang.String predicate)
Compiles a predicate (query condition).
|
character |
prepareString()
Conversion of PREPARE_STRING attribute (KW_PREP_STR).
|
void |
previous()
No-op.
|
void |
previous(LockType lockType)
No-op.
|
logical |
queryBackward(int rows)
Conversion of REPOSITION-BACKWARD() method (KW_REPOS_B).
|
logical |
queryBackward(NumberType rows)
Conversion of REPOSITION-BACKWARD() method (KW_REPOS_B).
|
logical |
queryClose()
Conversion of QUERY-CLOSE() method (KW_QRY_CLOS).
|
logical |
queryForward(int rows)
Conversion of REPOSITION-FORWARD() method (KW_REPOS_F).
|
logical |
queryForward(NumberType rows)
Conversion of REPOSITION-FORWARD() method (KW_REPOS_F).
|
logical |
queryOpen()
Opens a query object.
|
logical |
queryReposition(int n)
Conversion of REPOSITION-TO-ROW() method (KW_REPOS_2R).
|
logical |
queryReposition(NumberType n)
Conversion of REPOSITION-TO-ROW() method (KW_REPOS_2R).
|
logical |
queryRepositionByID(rowid id1,
rowid... joinIDs)
Conversion of REPOSITION-TO-ROWID() method (KW_REPOS_2I).
|
void |
removeRepositionListener(RepositionListener listener)
No-op.
|
void |
reposition(int row)
No-op.
|
void |
reposition(NumberType row)
No-op.
|
void |
repositionByID(recid id)
No-op.
|
void |
repositionByID(rowid id1,
rowid... joinIDs)
No-op.
|
void |
setBrowsed(boolean browsed)
No-op.
|
logical |
setBuffers(Buffer... bufs)
Sets buffers for the query.
|
logical |
setBuffers(handle... hBuffers)
Sets buffers for the query.
|
void |
setErrorIfNull(boolean errorIfNull)
No-op.
|
P2JQuery |
setExternalBuffers(DataModelObject... dmos)
Set one or more buffers which this query references externally.
|
void |
setFetchOnReposition(boolean enable)
No-op.
|
void |
setParameterFilter(ParameterFilter parameterFilter)
No-op,
|
void |
setScrolling()
No-op.
|
void |
setSkipDeletedRecord(logical on)
Setter for SKIP-DELETED-RECORD query attribute.
|
void |
setStandalone(boolean standalone)
Change the standalone nature of this query.
|
integer |
size()
Default implementation which reports unknown value to indicate a
closed query.
|
void |
unique()
No-op.
|
void |
unique(LockType lockType)
No-op.
|
public void setScrolling()
setScrolling
in interface P2JQuery
public boolean isScrolling()
isScrolling
in interface P2JQuery
false
.public int getTableCount()
getTableCount
in interface P2JQuery
public java.util.List<QueryOffEndListener> getOffEndListeners()
getOffEndListeners
in interface P2JQuery
public P2JQuery setExternalBuffers(DataModelObject... dmos)
No-op.
setExternalBuffers
in interface P2JQuery
dmos
- One or more external buffers.null
.public void setBrowsed(boolean browsed)
setBrowsed
in interface P2JQuery
browsed
- Not used.public boolean isBrowsed()
public void setErrorIfNull(boolean errorIfNull)
setErrorIfNull
in interface P2JQuery
errorIfNull
- Not used.public void addAccumulator(Accumulator accum)
addAccumulator
in interface P2JQuery
accum
- Not used.public void addAccumulator(Accumulator accum, boolean deferred)
addAccumulator
in interface P2JQuery
accum
- Not used.deferred
- Not used.public void first(LockType lockType)
public void last(LockType lockType)
public void next(LockType lockType)
public void previous(LockType lockType)
public void unique(LockType lockType)
public void current(LockType lockType)
public logical hasAny()
Default substitution arguments and a lock type of NONE
are
used for this test.
public logical hasAny(java.lang.Object[] values)
The specified substitution arguments and a lock type of
NONE
are used for this test.
public logical hasAny(LockType lockType)
Default substitution arguments and the specified lock type are used for this test.
public logical hasAny(java.lang.Object[] values, LockType lockType)
The specified substitution arguments and lock type are used for this test.
hasAny
in interface P2JQuery
values
- Query substitution parameters.lockType
- Lock type for the query. This lock is not actually acquired,
only tested for availability.true
if the first record exists, else false
.java.lang.UnsupportedOperationException
- always.public logical hasOne()
Default substitution arguments and a lock type of NONE
are
used for this test.
public logical hasOne(java.lang.Object[] values)
The specified substitution arguments and a lock type of
NONE
are used for this test.
public logical hasOne(LockType lockType)
Default substitution arguments and the specified lock type are used for this test.
public logical hasOne(java.lang.Object[] values, LockType lockType)
The specified substitution arguments and lock type are used for this test.
hasOne
in interface P2JQuery
values
- Query substitution parameters.lockType
- Lock type for the query. This lock is not actually acquired,
only tested for availability.true
if any record matching the query's criteria
exists, else false
.java.lang.UnsupportedOperationException
- always.public boolean isFetchOnReposition()
isFetchOnReposition
in interface P2JQuery
false
.public void setFetchOnReposition(boolean enable)
setFetchOnReposition
in interface P2JQuery
enable
- Not used.public void addRepositionListener(RepositionListener listener)
addRepositionListener
in interface P2JQuery
listener
- Not used.public void removeRepositionListener(RepositionListener listener)
removeRepositionListener
in interface P2JQuery
listener
- Not used.public void repositionByID(recid id)
repositionByID
in interface P2JQuery
id
- Not used.public void repositionByID(rowid id1, rowid... joinIDs)
repositionByID
in interface P2JQuery
id1
- Not used.joinIDs
- Not used.public void reposition(NumberType row)
reposition
in interface P2JQuery
row
- Not used.public void reposition(int row)
reposition
in interface P2JQuery
row
- Not used.public boolean forward(NumberType rows)
public boolean forward(int rows)
public boolean backward(NumberType rows)
public boolean backward(int rows)
public integer size()
public integer currentRow()
currentRow
in interface P2JQuery
public integer currentRowImpl()
currentRowImpl
in interface P2JQuery
public logical isOffEnd()
public boolean _isOffEnd()
public OffEnd getOffEnd()
getOffEnd
in interface P2JQuery
OffEnd.FRONT
constant.public boolean isPreselect()
isPreselect
in interface P2JQuery
false
.public boolean isNativelyPreselect()
isNativelyPreselect
in interface P2JQuery
true
.public void notifyRepositionListeners(boolean closed, boolean error, int targetRepositionRow)
notifyRepositionListeners
in interface P2JQuery
closed
- Not used.error
- Not used.targetRepositionRow
- Not used.public boolean isStandalone()
isStandalone
in interface P2JQuery
false
.public void setStandalone(boolean standalone)
This implementation is a no-op.
setStandalone
in interface P2JQuery
standalone
- true
to set query as standalone;
false
to set query as contained.public handle bufferHandle()
bufferHandle
in interface P2JQuery
public handle bufferHandle(java.lang.String bufferName)
bufferHandle
in interface P2JQuery
bufferName
- buffer-name. A CHARACTER expression that evaluates to the name
of a buffer in the query or ProDataSet object.public handle bufferHandle(character bufferName)
bufferHandle
in interface P2JQuery
bufferName
- buffer-name. A CHARACTER expression that evaluates to the name
of a buffer in the query or ProDataSet object.public handle bufferHandle(int bufferSequenceNumber)
bufferHandle
in interface P2JQuery
bufferSequenceNumber
- buffer-sequence-number. An INTEGER that represents the sequence
number of the desired buffer.public handle bufferHandle(integer bufferSequenceNumber)
bufferHandle
in interface P2JQuery
bufferSequenceNumber
- buffer-sequence-number. An INTEGER that represents the sequence
number of the desired buffer.public logical queryClose()
queryClose
in interface P2JQuery
false
.public logical queryBackward(int rows)
queryBackward
in interface P2JQuery
false
.public logical queryBackward(NumberType rows)
queryBackward
in interface P2JQuery
false
.public logical queryForward(int rows)
queryForward
in interface P2JQuery
false
.public logical queryForward(NumberType rows)
queryForward
in interface P2JQuery
false
.public logical queryReposition(int n)
queryReposition
in interface P2JQuery
n
- An integer expression representing the sequence number.false
.public logical queryReposition(NumberType n)
queryReposition
in interface P2JQuery
n
- An integer expression representing the sequence number.false
.public logical queryRepositionByID(rowid id1, rowid... joinIDs)
queryRepositionByID
in interface P2JQuery
id1
- A primary key ID, representing the target record (in the case
of a join, this ID is associated with the left-most record in
the join).joinIDs
- All remaining primary key IDs, if any, arranged from left to
right to coincide with the records being joined by the
underlying query.false
.public integer getNumResults()
getNumResults
in interface P2JQuery
public logical addBuffer(handle bufHandle)
public logical addBuffer(Buffer buf)
public logical setBuffers(handle... hBuffers)
addBuffer()
method to add one
buffer to the object, without affecting the other buffers, if any.
This method is the equivalent of SET-BUFFERS()
method
from 4GL.setBuffers
in interface P2JQuery
hBuffers
- Variable argument list of buffer handles to be set.
In 4GL, the maximum number of buffers per query is 18.false
.public logical setBuffers(Buffer... bufs)
addBuffer()
method to add one
buffer to the object, without affecting the other buffers, if any.
This method is the equivalent of SET-BUFFERS()
method
from 4GL.setBuffers
in interface P2JQuery
bufs
- Variable argument list of Buffer to be set.
In 4GL, the maximum number of buffers per query is 18.public logical prepare(java.lang.String predicate)
QUERY-PREPARE()
method from 4GL.public logical prepare(character predicate)
QUERY-PREPARE()
method from 4GL.public logical queryOpen()
QUERY-OPEN()
method from 4GL.
Note: You must perform prepare()
on a query
object before you perform queryOpen
on it.public character indexInformation()
indexInformation
in interface IndexInformation
indexInformation
in interface P2JQuery
public character indexInformation(int n)
indexInformation
in interface IndexInformation
indexInformation
in interface P2JQuery
n
- An integer expression that evaluates to the level of join for which you want
index information.public character indexInformation(NumberType n)
indexInformation
in interface IndexInformation
indexInformation
in interface P2JQuery
n
- An integer expression that evaluates to the level of join for which you want
index information.public logical forwardOnly()
forwardOnly
in interface P2JQuery
false
.public void changeForwardOnly(logical forwardOnly)
changeForwardOnly
in interface P2JQuery
forwardOnly
- New value of FORWARD-ONLY attribute.public void changeForwardOnly(boolean forwardOnly)
changeForwardOnly
in interface P2JQuery
forwardOnly
- New value of FORWARD-ONLY attribute.public character prepareString()
prepareString
in interface P2JQuery
public logical isOpen()
public logical getNext()
public logical getNext(LockType lockType)
public logical getNext(long lock)
public logical getNext(NumberType lock)
public logical getNext(long lock, long nowait)
public logical getNext(long lock, NumberType nowait)
public logical getNext(NumberType lock, long nowait)
public logical getNext(NumberType lock, NumberType nowait)
public logical getPrevious()
getPrevious
in interface P2JQuery
false
.public logical getPrevious(long lock)
getPrevious
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKfalse
.java.lang.IllegalArgumentException
- if lock
has not valid internal value.public logical getPrevious(LockType lockType)
getPrevious
in interface P2JQuery
lockType
- Lock type.false
.java.lang.IllegalArgumentException
- if lock
has not valid internal value.public logical getPrevious(NumberType lock)
getPrevious
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKfalse
.java.lang.IllegalArgumentException
- if lock
has not valid internal value.public logical getPrevious(long lock, long nowait)
getPrevious
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKnowait
- NO-WAITfalse
.java.lang.IllegalArgumentException
- if lock
or nowait
have not valid internal values.public logical getPrevious(NumberType lock, long nowait)
getPrevious
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKnowait
- NO-WAITfalse
.java.lang.IllegalArgumentException
- if lock
or nowait
have not valid internal values.public logical getPrevious(long lock, NumberType nowait)
getPrevious
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKnowait
- NO-WAITfalse
.java.lang.IllegalArgumentException
- if lock
or nowait
have not valid internal values.public logical getPrevious(NumberType lock, NumberType nowait)
getPrevious
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKnowait
- NO-WAITfalse
.java.lang.IllegalArgumentException
- if lock
or nowait
have not valid internal values.public logical getFirst()
public logical getFirst(long lock)
public logical getFirst(NumberType lock)
public logical getFirst(LockType lockType)
public logical getFirst(long lock, long nowait)
public logical getFirst(NumberType lock, long nowait)
public logical getFirst(long lock, NumberType nowait)
public logical getFirst(NumberType lock, NumberType nowait)
public logical getLast()
public logical getLast(long lock)
public logical getLast(NumberType lock)
public logical getLast(LockType lockType)
public logical getLast(long lock, long nowait)
public logical getLast(NumberType lock, long nowait)
public logical getLast(long lock, NumberType nowait)
public logical getLast(NumberType lock, NumberType nowait)
public logical getCurrent()
getCurrent
in interface P2JQuery
false
.public logical getCurrent(long lock)
getCurrent
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKfalse
.public logical getCurrent(NumberType lock)
getCurrent
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKfalse
.public logical getCurrent(LockType lockType)
getCurrent
in interface P2JQuery
lockType
- Lock type.false
.public logical getCurrent(long lock, long nowait)
getCurrent
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKnowait
- NO-WAITfalse
.public logical getCurrent(NumberType lock, long nowait)
getCurrent
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKnowait
- NO-WAITfalse
.public logical getCurrent(long lock, NumberType nowait)
getCurrent
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKnowait
- NO-WAITfalse
.public logical getCurrent(NumberType lock, NumberType nowait)
getCurrent
in interface P2JQuery
lock
- SHARE-LOCK|EXCLUSIVE-LOCK|NO-LOCKnowait
- NO-WAITfalse
.public integer numBuffers()
numBuffers
in interface P2JQuery
public void setSkipDeletedRecord(logical on)
setSkipDeletedRecord
in interface P2JQuery
on
- New value for the attribute.public logical isSkipDeletedRecord()
isSkipDeletedRecord
in interface P2JQuery
public void include(DataModelObject dmo, java.lang.String... fields)
public void exclude(DataModelObject dmo, java.lang.String... fields)
public logical deleteResultListEntry()
deleteResultListEntry
in interface P2JQuery
false
.public logical deleteResultListEntry(boolean allowBetweenRows)
deleteResultListEntry
in interface P2JQuery
allowBetweenRows
- If true
then the cursor can be positioned between rows (the next
row will be deleted). false
for conventional DELETE-RESULT-LIST-ENTRY()
mode where the cursor should be positioned on a row (otherwise false
is
returned).false
.public void setParameterFilter(ParameterFilter parameterFilter)
setParameterFilter
in interface P2JQuery
parameterFilter
- Not used.