Interface DeleteRequest
-
- All Superinterfaces:
AbandonableRequest,Message,Request,ResultResponseRequest,SingleReplyRequest
- All Known Implementing Classes:
DeleteRequestImpl,DelRequestDsml
public interface DeleteRequest extends SingleReplyRequest, AbandonableRequest
Delete request protocol message used to remove an existing leaf entry from the directory.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteRequestaddAllControls(Control[] controls)Adds an array of controls to this Message.DeleteRequestaddControl(Control control)Adds a control to this Message.DngetName()Gets the distinguished name of the leaf entry to be deleted by this request.DeleteRequestremoveControl(Control control)Deletes a control removing it from this Message.DeleteRequestsetMessageId(int messageId)Sets the Message ID for this requestDeleteRequestsetName(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.AbandonableRequest
abandon, addAbandonListener, isAbandoned
-
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.Request
hasResponse
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponseRequest
getResultResponse
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.SingleReplyRequest
getResponseType
-
-
-
-
Method Detail
-
getName
Dn getName()
Gets the distinguished name of the leaf entry to be deleted by this request.- Returns:
- the Dn of the leaf entry to delete.
-
setName
DeleteRequest setName(Dn name)
Sets the distinguished name of the leaf entry to be deleted by this request.- Parameters:
name- the Dn of the leaf entry to delete.- Returns:
- The DeleteRequest instance
-
setMessageId
DeleteRequest setMessageId(int messageId)
Sets the Message ID for this request- Specified by:
setMessageIdin interfaceMessage- Parameters:
messageId- The message Id- Returns:
- A Message reference
-
addControl
DeleteRequest addControl(Control control)
Adds a control to this Message.- Specified by:
addControlin interfaceMessage- Parameters:
control- the control to add.- Returns:
- A Message reference
-
addAllControls
DeleteRequest addAllControls(Control[] controls)
Adds an array of controls to this Message.- Specified by:
addAllControlsin interfaceMessage- Parameters:
controls- the controls to add.- Returns:
- A Message reference
-
removeControl
DeleteRequest removeControl(Control control)
Deletes a control removing it from this Message.- Specified by:
removeControlin interfaceMessage- Parameters:
control- the control to remove.- Returns:
- A Message reference
-
-