|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.shared.ldap.message.InternalAbstractMessage
org.apache.directory.shared.ldap.message.InternalAbstractRequest
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.InternalModifyRequest |
|---|
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(Modification mod)
Adds a Modification 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<Modification> |
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. |
InternalResultResponse |
getResultResponse()
The result containing response for this request. |
void |
removeModification(Modification mod)
Removes a Modification 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.InternalAbstractRequest |
|---|
hashCode, hasResponse |
| Methods inherited from class org.apache.directory.shared.ldap.message.InternalAbstractMessage |
|---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalRequest |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalMessage |
|---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
| Methods inherited from interface org.apache.directory.shared.ldap.message.InternalAbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Constructor Detail |
|---|
public ModifyRequestImpl(int id)
id - the sequential message identifier| Method Detail |
|---|
public java.util.Collection<Modification> getModificationItems()
getModificationItems in interface InternalModifyRequestpublic LdapDN getName()
getName in interface InternalModifyRequestpublic void setName(LdapDN name)
setName in interface InternalModifyRequestname - the DN of the modified entry.public void addModification(Modification mod)
addModification in interface InternalModifyRequestmod - a Modification to addpublic void removeModification(Modification mod)
removeModification in interface InternalModifyRequestmod - a Modification to remove.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequestpublic InternalResultResponse getResultResponse()
getResultResponse in interface InternalResultResponseRequestpublic boolean equals(java.lang.Object obj)
equals in class InternalAbstractMessageobj - 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 | |||||||||