|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.shared.ldap.message.internal.InternalAbstractMessage
org.apache.directory.shared.ldap.message.internal.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.internal.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. |
DN |
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(DN 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.internal.InternalAbstractRequest |
---|
hashCode, hasResponse |
Methods inherited from class org.apache.directory.shared.ldap.message.internal.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.internal.InternalRequest |
---|
hasResponse |
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalMessage |
---|
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove |
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalAbandonableRequest |
---|
abandon, addAbandonListener, isAbandoned |
Constructor Detail |
---|
public ModifyRequestImpl(int id)
id
- the sequential message identifierMethod Detail |
---|
public java.util.Collection<Modification> getModificationItems()
getModificationItems
in interface InternalModifyRequest
public DN getName()
getName
in interface InternalModifyRequest
public void setName(DN name)
setName
in interface InternalModifyRequest
name
- the DN of the modified entry.public void addModification(Modification mod)
addModification
in interface InternalModifyRequest
mod
- a Modification to addpublic void removeModification(Modification mod)
removeModification
in interface InternalModifyRequest
mod
- a Modification to remove.public MessageTypeEnum getResponseType()
getResponseType
in interface SingleReplyRequest
public InternalResultResponse getResultResponse()
getResultResponse
in interface InternalResultResponseRequest
public boolean equals(java.lang.Object obj)
equals
in class InternalAbstractMessage
obj
- 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 |