| 
 | Préférences Moteurs de recherche | ||||||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.5.0 
javax.naming.ldap
 | |||||||||||||||||||||
| Field Summary | |
|---|---|
| static String | OIDThe server-side sort control's assigned object identifier is 1.2.840.113556.1.4.473. | 
| Fields inherited from class javax.naming.ldap.BasicControl | 
|---|
| criticality, id, value | 
| Fields inherited from interface javax.naming.ldap.Control | 
|---|
| CRITICAL, NONCRITICAL | 
| Constructor Summary | |
|---|---|
| SortControl(SortKey[] sortBy,
            boolean criticality)Constructs a control to sort on a list of sort keys. | |
| SortControl(String[] sortBy,
            boolean criticality)Constructs a control to sort on a list of attributes in ascending order. | |
| SortControl(String sortBy,
            boolean criticality)Constructs a control to sort on a single attribute in ascending order. | |
| Method Summary | 
|---|
| 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 SortControl(String sortBy, boolean criticality) throws IOException
sortBy - An attribute ID to sort by.criticality - If true then the server must honor the control 
                          and return the search results sorted as 
                          requested or refuse to perform the search. 
                          If false, then the server need not honor the 
                          control.
IOException - If an error was encountered while encoding the 
                        supplied arguments into a control.public SortControl(String[] sortBy, boolean criticality) throws IOException
sortBy - A non-null list of attribute IDs to sort by.
                  The list is in order of highest to lowest sort key
                  precedence.criticality - If true then the server must honor the control 
                          and return the search results sorted as 
                          requested or refuse to perform the search. 
                          If false, then the server need not honor the 
                          control.
IOException - If an error was encountered while encoding the 
                        supplied arguments into a control.public SortControl(SortKey[] sortBy, boolean criticality) throws IOException
sortBy - A non-null list of keys to sort by.
                      The list is in order of highest to lowest sort key
                      precedence.criticality - If true then the server must honor the control 
                          and return the search results sorted as 
                          requested or refuse to perform the search. 
                          If false, then the server need not honor the 
                          control.
IOException - If an error was encountered while encoding the 
                        supplied arguments into a control.