org.apache.directory.shared.ldap.message
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.

Version:
$Revision: 689847 $
Author:
Apache Directory Project

Field Summary
static MessageTypeEnum RESP_TYPE
          LDAPv3 add response type enum code
static MessageTypeEnum TYPE
          LDAPv3 add request type enum code
 
Method Summary
 Entry getEntry()
          Gets the entry to add.
 LdapDN getEntryDn()
          Gets the distinguished name of the entry to add.
 void setEntry(Entry entry)
          Sets the Entry to add.
 void setEntryDn(LdapDN entry)
          Sets the distinguished name of the entry to add.
 
Methods inherited from interface org.apache.directory.shared.ldap.message.SingleReplyRequest
getResponseType
 
Methods inherited from interface org.apache.directory.shared.ldap.message.ResultResponseRequest
getResultResponse
 
Methods inherited from interface org.apache.directory.shared.ldap.message.Request
hasResponse
 
Methods inherited from interface org.apache.directory.shared.ldap.message.Message
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
 
Methods inherited from interface org.apache.directory.shared.ldap.message.AbandonableRequest
abandon, addAbandonListener, isAbandoned
 

Field Detail

TYPE

static final MessageTypeEnum TYPE
LDAPv3 add request type enum code


RESP_TYPE

static final MessageTypeEnum RESP_TYPE
LDAPv3 add response type enum code

Method Detail

getEntryDn

LdapDN getEntryDn()
Gets the distinguished name of the entry to add.

Returns:
the Dn of the added entry.

setEntryDn

void setEntryDn(LdapDN entry)
Sets the distinguished name of the entry to add.

Parameters:
entry - the Dn of the added entry.

getEntry

Entry getEntry()
Gets the entry to add.

Returns:
the added Entry

setEntry

void setEntry(Entry entry)
Sets the Entry to add.

Parameters:
entry - the added Entry


Copyright © 2003-2011 Apache Software Foundation. All Rights Reserved.