|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VirtualListViewRequestControl
The virtual list view request control as defined in draft-ietf-ldapext-ldapv3-vlv. This control allows a client to specify that the server return, for a given search request with associated sort keys, a contiguous subset of the search result set. This subset is specified in terms of offsets into the ordered list, or in terms of a greater than or equal assertion value.
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.
VirtualListViewResponseControl
, ServerSideSortRequestControl
, draft-ietf-ldapext-ldapv3-vlv - LDAP Extensions for Scrolling View Browsing of Search ResultsField Summary | |
---|---|
static ControlDecoder<VirtualListViewRequestControl> |
DECODER A decoder which can be used for decoding the virtual list view request control. |
Method Summary | |
---|---|
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. |
Methods inherited from interface oracle.oud.controls.Control |
---|
getAPIValue, getOID, hasValue, isCritical |
Field Detail |
---|
static final ControlDecoder<VirtualListViewRequestControl> DECODER
Method Detail |
---|
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.
|
Oracle® Fusion Middleware Java API Reference for Oracle Unified Directory 11g Release 2 (11.1.2.2.0) E38583-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |