|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.asn1.AbstractAsn1Object
org.apache.directory.shared.ldap.codec.controls.AbstractControl
org.apache.directory.shared.ldap.codec.search.controls.subentries.SubentriesControl
public class SubentriesControl
A searchRequest control : Subentries
| Field Summary | |
|---|---|
static String |
CONTROL_OID
Ths control OID |
| Fields inherited from class org.apache.directory.shared.ldap.codec.controls.AbstractControl |
|---|
decoder, value, valueLength |
| Fields inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
parent |
| Constructor Summary | |
|---|---|
SubentriesControl()
Default constructor |
|
| Method Summary | |
|---|---|
int |
computeLength()
Compute the SubEntryControl length 0x01 0x01 [0x00|0xFF] |
ByteBuffer |
encode(ByteBuffer buffer)
Encodes the Subentries control. |
byte[] |
getValue()
Get the control value |
boolean |
isVisible()
Check if the subEntry is visible |
void |
setVisibility(boolean visibility)
Set the visibility flag |
String |
toString()
Return a String representing this EntryChangeControl. |
| Methods inherited from class org.apache.directory.shared.ldap.codec.controls.AbstractControl |
|---|
computeLength, getDecoder, getOid, hasValue, isCritical, setCritical, setValue |
| Methods inherited from class org.apache.directory.shared.asn1.AbstractAsn1Object |
|---|
addLength, getCurrentLength, getExpectedLength, getParent, getTlvId, setCurrentLength, setExpectedLength, setParent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String CONTROL_OID
| Constructor Detail |
|---|
public SubentriesControl()
| Method Detail |
|---|
public boolean isVisible()
public void setVisibility(boolean visibility)
visibility - The visibility flag : true or falsepublic int computeLength()
computeLength in interface Asn1ObjectcomputeLength in interface CodecControlcomputeLength in class AbstractControl
public ByteBuffer encode(ByteBuffer buffer)
throws EncoderException
encode in interface Asn1Objectencode in interface CodecControlencode in class AbstractControlbuffer - The encoded sink
EncoderException - If anything goes wrong.public byte[] getValue()
getValue in interface ControlgetValue in class AbstractControlpublic String toString()
toString in class AbstractControl
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||