public interface VirtualListViewRequestControl extends Control
This control must be used in conjunction with the server-side sort request control in order to ensure that results are returned in a consistent order.
This control is similar to the simple paged results request control, except that it allows the client to move backwards and forwards in the result set.
Modifier and Type | Field and Description |
---|---|
static ControlDecoder<VirtualListViewRequestControl> |
DECODER
A decoder which can be used for decoding the virtual list view request
control.
|
Modifier and Type | Method and Description |
---|---|
int |
getAfterCount()
Returns the number of entries after the target entry to be included in the
search results.
|
ByteString |
getAssertionValue()
Returns the assertion value that will be used to locate the target entry,
if applicable.
|
java.lang.String |
getAssertionValueAsString()
Returns the assertion value that will be used to locate the target entry,
if applicable, decoded as a UTF-8 string.
|
int |
getBeforeCount()
Returns the number of entries before the target entry to be included in the
search results.
|
int |
getContentCount()
Returns the content count returned by the server in the last virtual list
view response, if applicable.
|
ByteString |
getContextID()
Returns the context ID provided by the server in the last virtual list view
response for the same set of criteria, or
null if there was no
previous virtual list view response or the server did not include a context
ID in the last response. |
int |
getOffset()
Returns the positional offset of the target entry in the result set, if
applicable, where
1 is the first entry. |
boolean |
hasTargetOffset()
Returns
true if this control is using a target offset, or false if this control is using a target assertion. |
getAPIValue, getDetails, getOID, hasValue, isCritical
static final ControlDecoder<VirtualListViewRequestControl> DECODER
int getAfterCount()
ByteString getAssertionValue()
null
if this control is using a target offset.java.lang.String getAssertionValueAsString()
null
if this control is using
a target offset.int getBeforeCount()
int getContentCount()
0
if this is the first virtual
list view request, or -1
if this control is using a target
assertion.ByteString getContextID()
null
if there was no
previous virtual list view response or the server did not include a context
ID in the last response.null
if unavailable.int getOffset()
1
is the first entry.-1
if this control is using a target assertion.boolean hasTargetOffset()
true
if this control is using a target offset, or false
if this control is using a target assertion.true
if this control is using a target offset, or false
if this control is using a target assertion.