|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.control.AbstractControl
org.ldaptive.control.SortRequestControl
public class SortRequestControl
Request control for server side sorting. See RFC 2891. Control is defined as:
SortKeyList ::= SEQUENCE OF SEQUENCE {
attributeType AttributeDescription,
orderingRule [0] MatchingRuleId OPTIONAL,
reverseOrder [1] BOOLEAN DEFAULT FALSE }
| Field Summary | |
|---|---|
static String |
OID
OID of this control. |
| Fields inherited from class org.ldaptive.control.AbstractControl |
|---|
logger |
| Constructor Summary | |
|---|---|
SortRequestControl()
Default constructor. |
|
SortRequestControl(SortKey[] keys)
Creates a new sort request control. |
|
SortRequestControl(SortKey[] keys,
boolean critical)
Creates a new sort request control. |
|
| Method Summary | |
|---|---|
byte[] |
encode()
Provides the BER encoding of this control. |
SortKey[] |
getSortKeys()
Returns the sort keys. |
int |
hashCode()
Returns the hash code for this object. |
void |
setSortKeys(SortKey[] keys)
Sets the sort keys. |
String |
toString()
|
| Methods inherited from class org.ldaptive.control.AbstractControl |
|---|
equals, getCriticality, getOID |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ldaptive.control.Control |
|---|
getCriticality, getOID |
| Field Detail |
|---|
public static final String OID
| Constructor Detail |
|---|
public SortRequestControl()
public SortRequestControl(SortKey[] keys)
keys - sort keys
public SortRequestControl(SortKey[] keys,
boolean critical)
keys - sort keyscritical - whether this control is critical| Method Detail |
|---|
public SortKey[] getSortKeys()
public void setSortKeys(SortKey[] keys)
keys - sort keyspublic int hashCode()
hashCode in class AbstractControlpublic String toString()
toString in class Objectpublic byte[] encode()
encode in interface RequestControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||