Please note that this translation of the specification is the result of a java.net community project ( https://jdk5-api-pt-br.dev.java.net/ ). The official version of the specification is the US English language version which can be found at http://java.sun.com/j2se/1.5.0/docs/api/. In case of disputes, the authoritative version of the specification is the original, English document.
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.naming.ldap.SortKey
public class SortKey
A sort key and its associated sort parameters. This class implements a sort key which is used by the LDAPv3 Control for server-side sorting of search results as defined in RFC 2891.
SortControl| Constructor Summary | |
|---|---|
SortKey(String attrID)
Creates the default sort key for an attribute. |
|
SortKey(String attrID,
boolean ascendingOrder,
String matchingRuleID)
Creates a sort key for an attribute. |
|
| Method Summary | |
|---|---|
String |
getAttributeID()
Retrieves the attribute ID of the sort key. |
String |
getMatchingRuleID()
Retrieves the matching rule ID used to order the attribute values. |
boolean |
isAscending()
Determines the sort order. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortKey(String attrID)
attrID - The non-null ID of the attribute to be used as a sort
key.
public SortKey(String attrID,
boolean ascendingOrder,
String matchingRuleID)
attrID - The non-null ID of the attribute to be used as
a sort key.ascendingOrder - If true then entries are arranged in ascending
order. Otherwise there are arranged in
descending order.matchingRuleID - The possibly null ID of the matching rule to
use to order the attribute values. If not
specified then the ordering matching rule
defined for the sort key attribute is used.| Method Detail |
|---|
public String getAttributeID()
public boolean isAscending()
public String getMatchingRuleID()
|
JavaTM 2 Platform Standard Ed. 5.0 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
Copyright 2006 Sun Microsystems, Inc. Todos os direitos reservados. O uso está sujeito aos termos da licensa.