|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.ldap.client.api.message.AbstractMessage
org.apache.directory.ldap.client.api.message.AbstractRequest
org.apache.directory.ldap.client.api.message.ModifyRequest
public class ModifyRequest
ModificationRequest for performing modify operation.
Constructor Summary | |
---|---|
ModifyRequest(org.apache.directory.shared.ldap.name.DN dn)
Creates a new instance of ModifyRequest. |
Method Summary | |
---|---|
void |
add(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
marks a given attribute for addition in the target entry. |
void |
add(java.lang.String attributeName,
byte[]... attributeValue)
|
void |
add(java.lang.String attributeName,
java.lang.String... attributeValue)
marks a given attribute for addition in the target entry with the given values. |
void |
addModification(org.apache.directory.shared.ldap.entry.EntryAttribute attr,
org.apache.directory.shared.ldap.entry.ModificationOperation modOp)
|
void |
addModification(org.apache.directory.shared.ldap.entry.Modification... modifications)
|
org.apache.directory.shared.ldap.name.DN |
getDn()
|
java.util.List<org.apache.directory.shared.ldap.entry.Modification> |
getMods()
|
void |
remove(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
marks a given attribute for removal from the target entry. |
void |
remove(java.lang.String attributeName,
byte[]... attributeValue)
|
void |
remove(java.lang.String attributeName,
java.lang.String... attributeValue)
marks a given attribute for removal with the given values from the target entry. |
void |
replace(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
marks a given attribute for replacement in the target entry. |
void |
replace(java.lang.String attributeName,
byte[]... attributeValue)
|
void |
replace(java.lang.String attributeName,
java.lang.String... attributeValue)
marks a given attribute for replacement with the given values in the target entry. |
Methods inherited from class org.apache.directory.ldap.client.api.message.AbstractRequest |
---|
getTimeout, setTimeout |
Methods inherited from class org.apache.directory.ldap.client.api.message.AbstractMessage |
---|
add, getControl, getControls, getMessageId, hasControl, remove, setMessageId, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.directory.ldap.client.api.message.Request |
---|
getTimeout, setTimeout |
Methods inherited from interface org.apache.directory.ldap.client.api.message.Message |
---|
add, getControl, getControls, getMessageId, hasControl, remove, setMessageId |
Constructor Detail |
---|
public ModifyRequest(org.apache.directory.shared.ldap.name.DN dn)
dn
- DN of the Entry to be modifiedMethod Detail |
---|
public void add(java.lang.String attributeName, java.lang.String... attributeValue)
attributeName
- name of the attribute to be addedattributeValue
- values of the attributepublic void add(java.lang.String attributeName, byte[]... attributeValue)
add(String, String...)
public void add(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
attr
- the attribute to be addedpublic void replace(java.lang.String attributeName, java.lang.String... attributeValue)
attributeName
- name of the attribute to be addedattributeValue
- values of the attributepublic void replace(java.lang.String attributeName, byte[]... attributeValue)
remove(String, String...)
public void replace(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
attr
- the attribute to be addedpublic void remove(java.lang.String attributeName, java.lang.String... attributeValue)
attributeName
- name of the attribute to be addedattributeValue
- values of the attributepublic void remove(java.lang.String attributeName, byte[]... attributeValue)
remove(String, String...)
public void remove(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
attr
- the attribute to be addedpublic void addModification(org.apache.directory.shared.ldap.entry.EntryAttribute attr, org.apache.directory.shared.ldap.entry.ModificationOperation modOp)
public void addModification(org.apache.directory.shared.ldap.entry.Modification... modifications)
public org.apache.directory.shared.ldap.name.DN getDn()
public java.util.List<org.apache.directory.shared.ldap.entry.Modification> getMods()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |