Interface VirtualListViewResponse
- All Superinterfaces:
org.apache.directory.api.ldap.model.message.Control
- All Known Implementing Classes:
VirtualListViewResponseImpl
public interface VirtualListViewResponse
extends org.apache.directory.api.ldap.model.message.Control
Virtual List View response control as specified in draft-ietf-ldapext-ldapv3-vlv-09.
VirtualListViewResponse ::= SEQUENCE {
targetPosition INTEGER (0 .. maxInt),
contentCount INTEGER (0 .. maxInt),
virtualListViewResult ENUMERATED {
success (0),
operationsError (1),
protocolError (3),
unwillingToPerform (53),
insufficientAccessRights (50),
timeLimitExceeded (3),
adminLimitExceeded (11),
innapropriateMatching (18),
sortControlMissing (60),
offsetRangeError (61),
other(80),
...
},
contextID OCTET STRING OPTIONAL
}
- Author:
- Apache Directory Project
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionintGet the number of returned entriesbyte[]Get the context IDintGet the position in the list of entriesGet the VLV resultvoidsetContentCount(int contentCount) Sets the number of returned entriesvoidsetContextId(byte[] contextId) Sets the context IDvoidsetTargetPosition(int targetPosition) Sets the position in the list of entriesvoidsetVirtualListViewResult(VirtualListViewResultCode virtualListViewResultCode) Store the VLV resultMethods inherited from interface org.apache.directory.api.ldap.model.message.Control
getOid, isCritical, setCritical
-
Field Details
-
OID
-
-
Method Details
-
getTargetPosition
int getTargetPosition()Get the position in the list of entries- Returns:
- the position in the list of entries
-
setTargetPosition
void setTargetPosition(int targetPosition) Sets the position in the list of entries- Parameters:
targetPosition- the position in the list of entries
-
getContentCount
int getContentCount()Get the number of returned entries- Returns:
- The number of returned entries
-
setContentCount
void setContentCount(int contentCount) Sets the number of returned entries- Parameters:
contentCount- The number of returned entries
-
getVirtualListViewResult
-
setVirtualListViewResult
Store the VLV result- Parameters:
virtualListViewResultCode- The result
-
getContextId
byte[] getContextId()Get the context ID- Returns:
- The context ID
-
setContextId
void setContextId(byte[] contextId) Sets the context ID- Parameters:
contextId- The context ID
-