Interface VirtualListViewRequest
-
- All Superinterfaces:
Control
- All Known Implementing Classes:
VirtualListViewRequestImpl
public interface VirtualListViewRequest extends 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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetAfterCount()byte[]getAssertionValue()intgetBeforeCount()intgetContentCount()byte[]getContextId()intgetOffset()booleanhasAssertionValue()booleanhasOffset()voidsetAfterCount(int afterCount)voidsetAssertionValue(byte[] assertionValue)voidsetBeforeCount(int beforeCount)voidsetContentCount(int contentCount)voidsetContextId(byte[] contextId)voidsetOffset(int offset)-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
-
-
-
Field Detail
-
OID
static final String OID
This control OID- See Also:
- Constant Field Values
-
-
Method Detail
-
getBeforeCount
int getBeforeCount()
- Returns:
- The number of entries before the target entry that are going to be sent
-
setBeforeCount
void setBeforeCount(int beforeCount)
- Parameters:
beforeCount- Set the number of entries to be returned before the target entry
-
getAfterCount
int getAfterCount()
- Returns:
- The number of entries after the target entry that are going to be sent
-
setAfterCount
void setAfterCount(int afterCount)
- Parameters:
afterCount- Set the number of entries to be returned after the target entry
-
getOffset
int getOffset()
- Returns:
- The position of the target entry
-
setOffset
void setOffset(int offset)
- Parameters:
offset- the position of the target entry
-
getContentCount
int getContentCount()
- Returns:
- The number of expected entries
-
setContentCount
void setContentCount(int contentCount)
- Parameters:
contentCount- The number of entries
-
getAssertionValue
byte[] getAssertionValue()
- Returns:
- The AssertionValue
-
setAssertionValue
void setAssertionValue(byte[] assertionValue)
- Parameters:
assertionValue- Set the AssertionValue
-
getContextId
byte[] getContextId()
- Returns:
- The ID used for this request
-
setContextId
void setContextId(byte[] contextId)
- Parameters:
contextId- Set the context ID
-
hasOffset
boolean hasOffset()
- Returns:
trueif the VLV target is an offset, false otherwise
-
hasAssertionValue
boolean hasAssertionValue()
- Returns:
trueif the VLV target is an assertionValue, false otherwise
-
-