|
||||||||||
| 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
public class 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. |
LdapDN |
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(LdapDN 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, 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 AddRequestImpl(int id)
id - the sequence identifier of the AddRequest message.| Method Detail |
|---|
public LdapDN getEntry()
getEntry in interface AddRequestpublic void setEntry(LdapDN entry)
setEntry in interface AddRequestentry - the Dn of the added entry.public javax.naming.directory.Attributes getAttributes()
getAttributes in interface AddRequestpublic void setAttributes(javax.naming.directory.Attributes attributes)
setAttributes in interface AddRequestattributes - the Attributes with attribute value pairs for the added entry.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 test for equality to this
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 | |||||||||