|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.api.ldap.model.message.AbstractMessage
org.apache.directory.api.ldap.model.message.AbstractRequest
org.apache.directory.api.ldap.model.message.AbstractAbandonableRequest
org.apache.directory.api.ldap.model.message.DeleteRequestImpl
public class DeleteRequestImpl
Delete request implementation.
| Field Summary |
|---|
| Fields inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
|---|
controls |
| Fields inherited from interface org.apache.directory.api.ldap.model.message.DeleteRequest |
|---|
RESP_TYPE, TYPE |
| Constructor Summary | |
|---|---|
DeleteRequestImpl()
Creates a DeleteRequest implementing object used to delete a leaf entry from the DIT. |
|
| Method Summary | |
|---|---|
DeleteRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message. |
DeleteRequest |
addControl(Control control)
Adds a control to this Message. |
boolean |
equals(Object obj)
Checks to see if an object is equivalent to this DeleteRequest. |
Dn |
getName()
Gets the distinguished name of the leaf entry to be deleted by this request. |
MessageTypeEnum |
getResponseType()
Gets the protocol response message type for this request which produces at least one response. |
DeleteResponse |
getResultResponse()
The result containing response for this request. |
int |
hashCode()
|
DeleteRequest |
removeControl(Control control)
Deletes a control removing it from this Message. |
DeleteRequest |
setMessageId(int messageId)
Sets the Message ID for this request |
DeleteRequest |
setName(Dn name)
Sets the distinguished name of the leaf entry to be deleted by this request. |
String |
toString()
Return a String representing a DelRequest |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractAbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractRequest |
|---|
hasResponse |
| Methods inherited from class org.apache.directory.api.ldap.model.message.AbstractMessage |
|---|
get, getControl, getControls, getMessageId, getType, hasControl, put, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Request |
|---|
hasResponse |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.Message |
|---|
get, getControl, getControls, getMessageId, getType, hasControl, put |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.AbandonableRequest |
|---|
abandon, addAbandonListener, isAbandoned |
| Constructor Detail |
|---|
public DeleteRequestImpl()
| Method Detail |
|---|
public Dn getName()
getName in interface DeleteRequestpublic DeleteRequest setName(Dn name)
setName in interface DeleteRequestname - the Dn of the leaf entry to delete.
public DeleteRequest setMessageId(int messageId)
setMessageId in interface DeleteRequestsetMessageId in interface MessagesetMessageId in class AbstractMessagemessageId - The message Id
public DeleteRequest addControl(Control control)
throws MessageException
addControl in interface DeleteRequestaddControl in interface MessageaddControl in class AbstractMessagecontrol - the control to add.
MessageException - if controls cannot be added to this Message or the control is
not known etc.
public DeleteRequest addAllControls(Control[] controls)
throws MessageException
addAllControls in interface DeleteRequestaddAllControls in interface MessageaddAllControls in class AbstractMessagecontrols - the controls to add.
MessageException - if controls cannot be added to this Message or they are not known etc.
public DeleteRequest removeControl(Control control)
throws MessageException
removeControl in interface DeleteRequestremoveControl in interface MessageremoveControl in class AbstractMessagecontrol - the control to remove.
MessageException - if controls cannot be added to this Message or the control is
not known etc.public MessageTypeEnum getResponseType()
getResponseType in interface SingleReplyRequest<DeleteResponse>public DeleteResponse getResultResponse()
getResultResponse in interface ResultResponseRequest<DeleteResponse>public int hashCode()
hashCode in class AbstractRequestObject.hashCode()public boolean equals(Object obj)
equals in class AbstractRequestobj - the object to test for equality to this
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||