|
||||||||||
| 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.DirSyncControl
public class DirSyncControl
Request/response control for active directory synchronization. Control is defined as:
dirSyncValue ::= SEQUENCE {
flags INTEGER,
maxAttributeCount INTEGER,
cookie OCTET STRING
}
See http://msdn.microsoft.com/en-us/library/cc223347.aspx
| Nested Class Summary | |
|---|---|
static class |
DirSyncControl.Flag
Types of flags. |
| Field Summary | |
|---|---|
static String |
OID
OID of this control. |
| Fields inherited from class org.ldaptive.control.AbstractControl |
|---|
logger |
| Constructor Summary | |
|---|---|
DirSyncControl()
Default constructor. |
|
DirSyncControl(boolean critical)
Creates a new dir sync control. |
|
DirSyncControl(DirSyncControl.Flag[] f)
Creates a new dir sync control. |
|
DirSyncControl(DirSyncControl.Flag[] f,
boolean critical)
Creates a new dir sync control. |
|
DirSyncControl(DirSyncControl.Flag[] f,
byte[] value,
boolean critical)
Creates a new dir sync control. |
|
DirSyncControl(DirSyncControl.Flag[] f,
byte[] value,
int count,
boolean critical)
Creates a new dir sync control. |
|
DirSyncControl(DirSyncControl.Flag[] f,
int count)
Creates a new dir sync control. |
|
DirSyncControl(DirSyncControl.Flag[] f,
int count,
boolean critical)
Creates a new dir sync control. |
|
| Method Summary | |
|---|---|
void |
decode(byte[] berValue)
Initializes this response control with the supplied BER encoded data. |
byte[] |
encode()
Provides the BER encoding of this control. |
byte[] |
getCookie()
Returns the sync request cookie. |
long |
getFlags()
Returns the flags value. |
int |
getMaxAttributeCount()
Returns the maximum attribute count. |
int |
hashCode()
Returns the hash code for this object. |
void |
setCookie(byte[] value)
Sets the sync request cookie. |
void |
setFlags(long l)
Sets the flags. |
void |
setMaxAttributeCount(int count)
Sets the maximum attribute count. |
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 DirSyncControl()
public DirSyncControl(boolean critical)
critical - whether this control is criticalpublic DirSyncControl(DirSyncControl.Flag[] f)
f - request flags
public DirSyncControl(DirSyncControl.Flag[] f,
boolean critical)
f - request flagscritical - whether this control is critical
public DirSyncControl(DirSyncControl.Flag[] f,
int count)
f - request flagscount - maximum attribute count
public DirSyncControl(DirSyncControl.Flag[] f,
int count,
boolean critical)
f - request flagscount - maximum attribute countcritical - whether this control is critical
public DirSyncControl(DirSyncControl.Flag[] f,
byte[] value,
boolean critical)
f - request flagsvalue - dir sync cookiecritical - whether this control is critical
public DirSyncControl(DirSyncControl.Flag[] f,
byte[] value,
int count,
boolean critical)
f - request flagsvalue - dir sync cookiecount - maximum attribute countcritical - whether this control is critical| Method Detail |
|---|
public long getFlags()
public void setFlags(long l)
l - flags valuepublic int getMaxAttributeCount()
public void setMaxAttributeCount(int count)
count - maximum attribute countpublic byte[] getCookie()
public void setCookie(byte[] value)
value - sync request cookiepublic int hashCode()
hashCode in class AbstractControlpublic String toString()
toString in class Objectpublic byte[] encode()
encode in interface RequestControlpublic void decode(byte[] berValue)
decode in interface ResponseControlberValue - BER encoded response control
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||