Interface AddRequest

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

public interface AddRequest extends SingleReplyRequest, AbandonableRequest
Add protocol operation request used to add a new entry to the DIT.
Author:
Apache Directory Project
  • Method Details

    • getEntryDn

      Dn getEntryDn()
      Gets the distinguished name of the entry to add.
      Returns:
      the Dn of the added entry.
    • setEntryDn

      AddRequest setEntryDn(Dn entry)
      Sets the distinguished name of the entry to add.
      Parameters:
      entry - the Dn of the added entry.
      Returns:
      The AddRequest instance
    • getEntry

      Entry getEntry()
      Gets the entry to add.
      Returns:
      the added Entry
    • setEntry

      AddRequest setEntry(Entry entry)
      Sets the Entry to add.
      Parameters:
      entry - the added Entry
      Returns:
      The AddRequest instance
    • setMessageId

      AddRequest 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

      AddRequest 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

      AddRequest 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

      AddRequest 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