public class AdDirSyncRequestImpl extends org.apache.directory.api.ldap.model.message.controls.AbstractControl implements AdDirSyncRequest
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
cookie
The DirSync cookie
|
private int |
maxAttributeCount
The maximum attribute count to return
|
private int |
parentsFirst
The parentsFirst value
|
OID| Constructor and Description |
|---|
AdDirSyncRequestImpl()
Creates an instance of the DirSync control
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
byte[] |
getCookie() |
int |
getMaxAttributeCount() |
int |
getParentsFirst() |
int |
hashCode() |
void |
setCookie(byte[] cookie) |
void |
setMaxAttributeCount(int maxAttributeCount) |
void |
setParentsFirst(int parentsFirst)
Tell the server that it should send the parents of the children before
their children.
|
String |
toString() |
getOid, isCritical, setCriticalprivate int parentsFirst
private int maxAttributeCount
private byte[] cookie
public AdDirSyncRequestImpl()
public int getParentsFirst()
getParentsFirst in interface AdDirSyncRequestpublic void setParentsFirst(int parentsFirst)
setParentsFirst in interface AdDirSyncRequestparentsFirst - When set to 1, will return the parents before childrenpublic int getMaxAttributeCount()
getMaxAttributeCount in interface AdDirSyncRequestpublic void setMaxAttributeCount(int maxAttributeCount)
setMaxAttributeCount in interface AdDirSyncRequestmaxAttributeCount - The maximum attribute count to be returnedpublic byte[] getCookie()
getCookie in interface AdDirSyncRequestpublic void setCookie(byte[] cookie)
setCookie in interface AdDirSyncRequestcookie - The cookie to send to the server. It's the value found in the response control. Should be null
for the first control.public int hashCode()
hashCode in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.hashCode()public boolean equals(Object other)
equals in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.equals(Object)public String toString()
toString in class org.apache.directory.api.ldap.model.message.controls.AbstractControlObject.toString()Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.