|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DeleteRequest
Delete request protocol message used to remove an existing leaf entry from the directory.
| Field Summary | |
|---|---|
static MessageTypeEnum |
RESP_TYPE
Delete response message type enumeration value |
static MessageTypeEnum |
TYPE
Delete request message type enumeration value |
| Method Summary | |
|---|---|
DeleteRequest |
addAllControls(Control[] controls)
Adds an array of controls to this Message. |
DeleteRequest |
addControl(Control control)
Adds a control to this Message. |
Dn |
getName()
Gets the distinguished name of the leaf entry to be deleted by this request. |
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. |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.SingleReplyRequest |
|---|
getResponseType |
| Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponseRequest |
|---|
getResultResponse |
| 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 |
| Field Detail |
|---|
static final MessageTypeEnum TYPE
static final MessageTypeEnum RESP_TYPE
| Method Detail |
|---|
Dn getName()
DeleteRequest setName(Dn name)
name - the Dn of the leaf entry to delete.
DeleteRequest setMessageId(int messageId)
setMessageId in interface MessagemessageId - The message Id
DeleteRequest addControl(Control control)
throws MessageException
addControl in interface Messagecontrol - the control to add.
MessageException - if controls cannot be added to this Message or the control is
not known etc.
DeleteRequest addAllControls(Control[] controls)
throws MessageException
addAllControls in interface Messagecontrols - the controls to add.
MessageException - if controls cannot be added to this Message or they are not known etc.
DeleteRequest removeControl(Control control)
throws MessageException
removeControl in interface Messagecontrol - the control to remove.
MessageException - if controls cannot be added to this Message or the control is
not known etc.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||