|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.control.AbstractControl
org.ldaptive.ad.control.SearchOptionsControl
public class SearchOptionsControl
Request control for active directory servers to control various search behaviors. Control is defined as:
searchOptionsValue ::= SEQUENCE {
flag INTEGER
}
See http://msdn.microsoft.com/en-us/library/cc223324.aspx
| Nested Class Summary | |
|---|---|
static class |
SearchOptionsControl.Flag
Types of flags. |
| Field Summary | |
|---|---|
static String |
OID
OID of this control. |
| Fields inherited from class org.ldaptive.control.AbstractControl |
|---|
logger |
| Constructor Summary | |
|---|---|
SearchOptionsControl()
Default constructor. |
|
SearchOptionsControl(SearchOptionsControl.Flag f)
Creates a new search options control. |
|
SearchOptionsControl(SearchOptionsControl.Flag f,
boolean critical)
Creates a new search options control. |
|
| Method Summary | |
|---|---|
byte[] |
encode()
Provides the BER encoding of this control. |
boolean |
equals(Object o)
|
SearchOptionsControl.Flag |
getFlag()
Returns the flag. |
int |
hashCode()
Returns the hash code for this object. |
void |
setFlag(SearchOptionsControl.Flag f)
Sets the flag. |
String |
toString()
|
| Methods inherited from class org.ldaptive.control.AbstractControl |
|---|
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 SearchOptionsControl()
public SearchOptionsControl(SearchOptionsControl.Flag f)
f - flag
public SearchOptionsControl(SearchOptionsControl.Flag f,
boolean critical)
f - flagcritical - whether this control is critical| Method Detail |
|---|
public SearchOptionsControl.Flag getFlag()
public void setFlag(SearchOptionsControl.Flag f)
f - flagpublic boolean equals(Object o)
equals in class AbstractControlpublic int hashCode()
AbstractControl
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 | |||||||||