|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.ldap.LDAPControl com.novell.ldap.controls.LDAPSortControl
LDAPSortControl is a Server Control to specify how search results are to be sorted by the server. If a server does not support sorting in general or for a particular query, the results will be returned unsorted, along with a control indicating why they were not sorted (or that sort controls are not supported). If the control was marked "critical", the whole search operation will fail if the sort control is not supported.
Sample Code: AsyncSortControl.java
Constructor Summary | |
LDAPSortControl(LDAPSortKey[] keys,
boolean critical)
Constructs a sort control with multiple sort keys. |
|
LDAPSortControl(LDAPSortKey key,
boolean critical)
Constructs a sort control with a single key. |
Methods inherited from class com.novell.ldap.LDAPControl |
clone, getID, getValue, isCritical, readDSML, readExternal, register, setValue, toString, writeDSML, writeExternal |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LDAPSortControl(LDAPSortKey key, boolean critical)
key
- A sort key object, which specifies attribute,
order, and optional matching rule.critical
- True if the search operation is to fail if the
server does not support this control.public LDAPSortControl(LDAPSortKey[] keys, boolean critical)
keys
- An array of sort key objects, to be processed in
order.critical
- True if the search operation is to fail if the
server does not support this control.
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |