Interface VirtualListViewRequest
- All Superinterfaces:
org.apache.directory.api.ldap.model.message.Control
- All Known Implementing Classes:
VirtualListViewRequestImpl
public interface VirtualListViewRequest
extends org.apache.directory.api.ldap.model.message.Control
Virtual List View control as specified in draft-ietf-ldapext-ldapv3-vlv-09.
VirtualListViewRequest ::= SEQUENCE {
beforeCount INTEGER (0..maxInt),
afterCount INTEGER (0..maxInt),
target CHOICE {
byOffset [0] SEQUENCE {
offset INTEGER (1 .. maxInt),
contentCount INTEGER (0 .. maxInt) },
greaterThanOrEqual [1] AssertionValue },
contextID OCTET STRING OPTIONAL }
Note : the target is set accordingly to which of the setOffset() or
assertionValue() method is called last.
- Author:
- Apache Directory Project
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintGet the number of entries after the target entry that are going to be sentbyte[]Get the AssertionValueintGet the number of entries before the target entry that are going to be sentintGet the number of expected entriesbyte[]Get the ID used for this requestintGet the position of the target entrybooleanTells if the VLV target is an assertionValuebooleanTells if the VLV target is an offsetvoidsetAfterCount(int afterCount) Set the number of entries to be returned after the target entryvoidsetAssertionValue(byte[] assertionValue) Set the AssertionValuevoidsetBeforeCount(int beforeCount) Set the number of entries to be returned before the target entryvoidsetContentCount(int contentCount) Set the number of entriesvoidsetContextId(byte[] contextId) Set the context IDvoidsetOffset(int offset) Set the position of the target entryMethods inherited from interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
Field Details
-
OID
-
-
Method Details
-
getBeforeCount
int getBeforeCount()Get the number of entries before the target entry that are going to be sent- Returns:
- The number of entries before the target entry that are going to be sent
-
setBeforeCount
void setBeforeCount(int beforeCount) Set the number of entries to be returned before the target entry- Parameters:
beforeCount- The number of entries to be returned before the target entry
-
getAfterCount
int getAfterCount()Get the number of entries after the target entry that are going to be sent- Returns:
- The number of entries after the target entry that are going to be sent
-
setAfterCount
void setAfterCount(int afterCount) Set the number of entries to be returned after the target entry- Parameters:
afterCount- The number of entries to be returned after the target entry
-
getOffset
int getOffset()Get the position of the target entry- Returns:
- The position of the target entry
-
setOffset
void setOffset(int offset) Set the position of the target entry- Parameters:
offset- the position of the target entry
-
getContentCount
int getContentCount()Get the number of expected entries- Returns:
- The number of expected entries
-
setContentCount
void setContentCount(int contentCount) Set the number of entries- Parameters:
contentCount- The number of entries
-
getAssertionValue
byte[] getAssertionValue()Get the AssertionValue- Returns:
- The AssertionValue
-
setAssertionValue
void setAssertionValue(byte[] assertionValue) Set the AssertionValue- Parameters:
assertionValue- The AssertionValue
-
getContextId
byte[] getContextId()Get the ID used for this request- Returns:
- The ID used for this request
-
setContextId
void setContextId(byte[] contextId) Set the context ID- Parameters:
contextId- The context ID
-
hasOffset
boolean hasOffset()Tells if the VLV target is an offset- Returns:
trueif the VLV target is an offset,falseotherwise
-
hasAssertionValue
boolean hasAssertionValue()Tells if the VLV target is an assertionValue- Returns:
trueif the VLV target is an assertionValue,falseotherwise
-