API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.ldap. SortControl View Source
Author(s)
Vincent Ryan
Since
1.5
Version
Serial
Hierarchy
 Object
      BasicControl
          SortControl
Implements
Subclasses
Description
publicfinal class SortControl
  Requests that the results of a search operation be sorted by the LDAP server before being returned.
See also:    SortKey SortResponseControl
Constructors
public SortControl (SortKey sortBy, boolean criticality) throws IOException
  Constructs a control to sort on a list of sort keys.
public SortControl (String sortBy, boolean criticality) throws IOException
  Constructs a control to sort on a list of attributes in ascending order.
public SortControl (String sortBy, boolean criticality) throws IOException
  Constructs a control to sort on a single attribute in ascending order.
Methods
Hide/Show inherited methods
public byte getEncodedValue () [Inherited From BasicControl]
  Retrieves the control's ASN.1 BER encoded value.
public String getID () [Inherited From BasicControl]
  Retrieves the control's object identifier string.
public boolean isCritical () [Inherited From BasicControl]
  Determines the control's criticality.
Fields
Hide/Show inherited fields
protected boolean criticality [Inherited From BasicControl]
The control's criticality.
protected String id [Inherited From BasicControl]
The control's object identifier string.
publicfinalstatic String OID = "1.2.840.113556.1.4.473"
The server-side sort control's assigned object identifier is 1.2.840.113556.1.4.473.
protected byte value [Inherited From BasicControl]
The control's ASN.1 BER encoded value.
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar