|
||||||||||
| 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.AddRequestImpl
public class AddRequestImpl
Lockable add request implemenation.
| Field Summary |
|---|
| Fields inherited from interface org.apache.directory.shared.ldap.message.InternalAddRequest |
|---|
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. |
Entry |
getEntry()
Gets the entry to add. |
LdapDN |
getEntryDn()
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. |
InternalResultResponse |
getResultResponse()
The result containing response for this request. |
int |
hashCode()
|
void |
setEntry(Entry entry)
Sets the Entry to add. |
void |
setEntryDn(LdapDN dn)
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.InternalAbstractRequest |
|---|
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 AddRequestImpl(int id)
id - the sequence identifier of the AddRequest message.| Method Detail |
|---|
public LdapDN getEntryDn()
getEntryDn in interface InternalAddRequestpublic void setEntryDn(LdapDN dn)
setEntryDn in interface InternalAddRequestentry - the Dn of the added entry.public Entry getEntry()
getEntry in interface InternalAddRequestpublic void setEntry(Entry entry)
setEntry in interface InternalAddRequestentry - the added Entrypublic 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 test for equality to this
public int hashCode()
hashCode in class InternalAbstractRequestObject.hashCode()public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||