Interface DeleteRequest

All Superinterfaces:
AbandonableRequest, Message, Request, ResultResponseRequest, SingleReplyRequest
All Known Implementing Classes:
DeleteRequestImpl

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 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

      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:
      setMessageId in interface Message
      Parameters:
      messageId - The message Id
      Returns:
      A Message reference
    • addControl

      DeleteRequest addControl(Control control)
      Adds a control to this Message.
      Specified by:
      addControl in interface Message
      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:
      addAllControls in interface Message
      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:
      removeControl in interface Message
      Parameters:
      control - the control to remove.
      Returns:
      A Message reference