|
Préférences
Moteurs de recherche
|
|||||||||||||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.5.0
javax.naming.ldap
|
||||||||||||||||||||||||||||
| Field Summary | |
|---|---|
static String |
OID
The server-side sort response control's assigned object identifier is 1.2.840.113556.1.4.474. |
| Fields inherited from class javax.naming.ldap.BasicControl |
|---|
criticality, id, value |
| Fields inherited from interface javax.naming.ldap.Control |
|---|
CRITICAL, NONCRITICAL |
| Constructor Summary | |
|---|---|
SortResponseControl(String id,
boolean criticality,
byte[] value)
Constructs a control to indicate the outcome of a sort request. |
|
| Method Summary | |
|---|---|
String |
getAttributeID()
Retrieves the ID of the attribute that caused the sort to fail. |
NamingException |
getException()
Retrieves the NamingException appropriate for the result code. |
int |
getResultCode()
Retrieves the LDAP result code of the sort operation. |
boolean |
isSorted()
Determines if the search results have been successfully sorted. |
| Methods inherited from class javax.naming.ldap.BasicControl |
|---|
getEncodedValue, getID, isCritical |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String OID
| Constructor Detail |
|---|
public SortResponseControl(String id, boolean criticality, byte[] value) throws IOException
id - The control's object identifier string.criticality - The control's criticality.value - The control's ASN.1 BER encoded value.
It is not cloned - any changes to value
will affect the contents of the control.
IOException - if an error is encountered
while decoding the control's value.| Method Detail |
|---|
public boolean isSorted()
public int getResultCode()
public String getAttributeID()
public NamingException getException()