Interface DeleteRequest
- All Superinterfaces:
AbandonableRequest, Message, Request, ResultResponseRequest, SingleReplyRequest
- All Known Implementing Classes:
DeleteRequestImpl
Delete request protocol message used to remove an existing leaf entry from
the directory.
- Author:
- Apache Directory Project
-
Method Summary
Modifier and TypeMethodDescriptionaddAllControls(Control[] controls) Adds an array of controls to this Message.addControl(Control control) Adds a control to this Message.getName()Gets the distinguished name of the leaf entry to be deleted by this request.removeControl(Control control) Deletes a control removing it from this Message.setMessageId(int messageId) Sets the Message ID for this requestSets the distinguished name of the leaf entry to be deleted by this request.Methods inherited from interface AbandonableRequest
abandon, addAbandonListener, isAbandonedMethods inherited from interface Message
get, getControl, getControls, getMessageId, getType, hasControl, putMethods inherited from interface Request
hasResponseMethods inherited from interface ResultResponseRequest
getResultResponseMethods inherited from interface SingleReplyRequest
getResponseType
-
Method Details
-
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
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
Sets the Message ID for this request- Specified by:
setMessageIdin interfaceMessage- Parameters:
messageId- The message Id- Returns:
- A Message reference
-
addControl
Adds a control to this Message.- Specified by:
addControlin interfaceMessage- Parameters:
control- the control to add.- Returns:
- A Message reference
-
addAllControls
Adds an array of controls to this Message.- Specified by:
addAllControlsin interfaceMessage- Parameters:
controls- the controls to add.- Returns:
- A Message reference
-
removeControl
Deletes a control removing it from this Message.- Specified by:
removeControlin interfaceMessage- Parameters:
control- the control to remove.- Returns:
- A Message reference
-