|
||||||||||
| 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.SyncStateControl
public class SyncStateControl
Response control for ldap content synchronization. See RFC 4533. Control is defined as:
syncStateValue ::= SEQUENCE {
state ENUMERATED {
present (0),
add (1),
modify (2),
delete (3)
},
entryUUID syncUUID,
cookie syncCookie OPTIONAL
}
| Nested Class Summary | |
|---|---|
static class |
SyncStateControl.State
Types of states. |
| Field Summary | |
|---|---|
static String |
OID
OID of this control. |
| Fields inherited from class org.ldaptive.control.AbstractControl |
|---|
logger |
| Constructor Summary | |
|---|---|
SyncStateControl()
Default constructor. |
|
SyncStateControl(boolean critical)
Creates a new sync state control. |
|
SyncStateControl(SyncStateControl.State state)
Creates a new sync state control. |
|
SyncStateControl(SyncStateControl.State state,
boolean critical)
Creates a new sync state control. |
|
SyncStateControl(SyncStateControl.State state,
UUID uuid,
boolean critical)
Creates a new sync state control. |
|
SyncStateControl(SyncStateControl.State state,
UUID uuid,
byte[] value,
boolean critical)
Creates a new sync state control. |
|
| Method Summary | |
|---|---|
void |
decode(byte[] berValue)
Initializes this response control with the supplied BER encoded data. |
byte[] |
getCookie()
Returns the sync state cookie. |
UUID |
getEntryUuid()
Returns the entry uuid. |
SyncStateControl.State |
getSyncState()
Returns the sync state. |
int |
hashCode()
Returns the hash code for this object. |
void |
setCookie(byte[] value)
Sets the sync state cookie. |
void |
setEntryUuid(UUID uuid)
Sets the entry uuid. |
void |
setSyncState(SyncStateControl.State state)
Sets the sync state. |
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 SyncStateControl()
public SyncStateControl(boolean critical)
critical - whether this control is criticalpublic SyncStateControl(SyncStateControl.State state)
state - sync state
public SyncStateControl(SyncStateControl.State state,
boolean critical)
state - sync statecritical - whether this control is critical
public SyncStateControl(SyncStateControl.State state,
UUID uuid,
boolean critical)
state - sync stateuuid - sync entry uuidcritical - whether this control is critical
public SyncStateControl(SyncStateControl.State state,
UUID uuid,
byte[] value,
boolean critical)
state - sync stateuuid - sync entry uuidvalue - sync state cookiecritical - whether this control is critical| Method Detail |
|---|
public SyncStateControl.State getSyncState()
public void setSyncState(SyncStateControl.State state)
state - sync statepublic UUID getEntryUuid()
public void setEntryUuid(UUID uuid)
uuid - entry uuidpublic byte[] getCookie()
public void setCookie(byte[] value)
value - sync state cookiepublic int hashCode()
hashCode in class AbstractControlpublic String toString()
toString in class Objectpublic 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 | |||||||||