Enum VirtualListViewResultCode
java.lang.Object
java.lang.Enum<VirtualListViewResultCode>
org.apache.directory.api.ldap.extras.controls.vlv.VirtualListViewResultCode
- All Implemented Interfaces:
Serializable, Comparable<VirtualListViewResultCode>
Enumeration of the result codes of a Virtual List View response control as specified in draft-ietf-ldapext-ldapv3-vlv-09.
- Author:
- Apache Directory Project
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe admin limit has been exceededThe matching rule is inappropriateThe access right are insufficientThe offset is incorrectThe range is invalidSS is missingThe operation failed dur to some internal errorAnother errorNo Sort Control providedA successteh time limit has been exceededUnwilling to perform the operation -
Method Summary
Modifier and TypeMethodDescriptionstatic VirtualListViewResultCodeget(int code) returns the enum value representing the given code.getDesc()Get the associated descriptionintgetValue()Get the valuestatic VirtualListViewResultCodeReturns the enum constant of this type with the specified name.static VirtualListViewResultCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
A success -
OPERATIONSERROR
The operation failed dur to some internal error -
TIMELIMITEXCEEDED
teh time limit has been exceeded -
ADMINLIMITEXCEEDED
The admin limit has been exceeded -
INAPPROPRIATEMATCHING
The matching rule is inappropriate -
INSUFFICIENTACCESSRIGHTS
The access right are insufficient -
UNWILLINGTOPERFORM
Unwilling to perform the operation -
SORTCONTROLMISSING
No Sort Control provided -
OFFSETRANGEERROR
The offset is incorrect -
OPENLDAP_SSSMISSING
SS is missing -
OPENLDAP_RANGEERRROR
The range is invalid -
OTHER
Another error
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public int getValue()Get the value- Returns:
- The associated integer value
-
getDesc
-
get
returns the enum value representing the given code.- Parameters:
code- the result code- Returns:
- returns the corresponding ResultCode, throws IllegalArgumentException when there is no matching ResultCode exists for the given value.
-