|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.message.AbstractMessage
org.apache.directory.shared.ldap.message.AbstractRequest
org.apache.directory.shared.ldap.message.AbstractAbandonableRequest
org.apache.directory.shared.ldap.message.ModifyRequestImpl
public class ModifyRequestImpl
Lockable ModifyRequest implementation.
| Field Summary |
|---|
| Fields inherited from interface org.apache.directory.shared.ldap.message.ModifyRequest |
|---|
RESP_TYPE, TYPE |
| Constructor Summary | |
|---|---|
ModifyRequestImpl(int id)
Creates a Lockable ModifyRequest implementing object used to modify the attributes of an entry. |
|
| Method Summary | |
|---|---|
void |
addModification(ModificationItemImpl mod)
Adds a ModificationItem to the set of modifications composing this modify request. |
boolean |
equals(java.lang.Object obj)
Checks to see if ModifyRequest stub equals another by factoring in checks for the name and modification items of the request. |
java.util.Collection |
getModificationItems()
Gets an immutable Collection of modification items representing the atomic changes to perform on the candidate entry to modify. |
LdapDN |
getName()
Gets the distinguished name of the entry to be modified by this request. |
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces at least one response. |
ResultResponse |
getResultResponse()
The result containing response for this request. |
void |
removeModification(ModificationItemImpl mod)
Removes a ModificationItem to the set of modifications composing this modify request. |
void |
setName(LdapDN name)
Sets the distinguished name of the entry to be modified by this request. |
java.lang.String |
toString()
Get a String representation of a ModifyRequest |
| Methods inherited from class org.apache.directory.shared.ldap.message.AbstractAbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Methods inherited from class org.apache.directory.shared.ldap.message.AbstractRequest |
|---|
hasResponse |
| Methods inherited from class org.apache.directory.shared.ldap.message.AbstractMessage |
|---|
add, get, getControls, getMessageId, getType, initControls, put, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.message.Request |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.shared.ldap.message.Message |
|---|
add, get, getControls, getMessageId, getType, put, remove |
| Methods inherited from interface org.apache.directory.shared.ldap.message.AbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Constructor Detail |
|---|
public ModifyRequestImpl(int id)
id - the sequential message identifier| Method Detail |
|---|
public java.util.Collection getModificationItems()
getModificationItems in interface ModifyRequestpublic LdapDN getName()
getName in interface ModifyRequestpublic void setName(LdapDN name)
setName in interface ModifyRequestname - the DN of the modified entry.public void addModification(ModificationItemImpl mod)
addModification in interface ModifyRequestmod - a ModificationItem to add.public void removeModification(ModificationItemImpl mod)
removeModification in interface ModifyRequestmod - a ModificationItem to remove.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic ResultResponse getResultResponse()
getResultResponse in interface ResultResponseRequestpublic boolean equals(java.lang.Object obj)
equals in class AbstractMessageobj - the object to compare this ModifyRequest to
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||