|
|||||||||||
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.AddRequestImpl
Lockable add request implemenation.
Field Summary |
Fields inherited from interface org.apache.directory.shared.ldap.message.AddRequest |
RESP_TYPE, TYPE |
Constructor Summary | |
AddRequestImpl(int id)
Creates an AddRequest implementation to create a new entry. |
Method Summary | |
boolean |
equals(java.lang.Object obj)
Checks to see if an object is equivalent to this AddRequest. |
javax.naming.directory.Attributes |
getAttributes()
Gets the attribute value pairs of the entry to add as a MultiMap. |
java.lang.String |
getEntry()
Gets the distinguished name of the entry to add. |
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 |
setAttributes(javax.naming.directory.Attributes attributes)
Sets the attribute value pairs of the entry to add as a MultiMap. |
void |
setEntry(java.lang.String entry)
Sets the distinguished name of the entry to add. |
java.lang.String |
toString()
|
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 AddRequestImpl(int id)
id
- the sequence identifier of the AddRequest message.Method Detail |
public java.lang.String getEntry()
getEntry
in interface AddRequest
public void setEntry(java.lang.String entry)
setEntry
in interface AddRequest
entry
- the Dn of the added entry.public javax.naming.directory.Attributes getAttributes()
getAttributes
in interface AddRequest
public void setAttributes(javax.naming.directory.Attributes attributes)
setAttributes
in interface AddRequest
attributes
- the Attributes with attribute value pairs for the added entry.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 test for equality to this
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |