|
|||||||||||
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
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(javax.naming.directory.ModificationItem 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. |
java.lang.String |
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(javax.naming.directory.ModificationItem mod)
Removes a ModificationItem to the set of modifications composing this modify request. |
void |
setName(java.lang.String 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, 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 identifierMethod Detail |
public java.util.Collection getModificationItems()
getModificationItems
in interface ModifyRequest
public java.lang.String getName()
getName
in interface ModifyRequest
public void setName(java.lang.String name)
setName
in interface ModifyRequest
name
- the DN of the modified entry.public void addModification(javax.naming.directory.ModificationItem mod)
addModification
in interface ModifyRequest
mod
- a ModificationItem to add.public void removeModification(javax.naming.directory.ModificationItem mod)
removeModification
in interface ModifyRequest
mod
- a ModificationItem to remove.public MessageTypeEnum getResponseType()
getResponseType
in interface SingleReplyRequest
public ResultResponse getResultResponse()
getResultResponse
in interface ResultResponseRequest
public boolean equals(java.lang.Object obj)
equals
in class AbstractMessage
obj
- the object to compare this ModifyRequest to
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |