org.apache.directory.shared.ldap.message.internal
Interface InternalAddRequest

All Superinterfaces:
InternalAbandonableRequest, InternalMessage, InternalRequest, InternalResultResponseRequest, SingleReplyRequest
All Known Implementing Classes:
AddRequestImpl

public interface InternalAddRequest
extends SingleReplyRequest, InternalAbandonableRequest

Add protocol operation request used to add a new entry to the DIT.

Version:
$Revision: 918756 $
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.
 DN getEntryDn()
          Gets the distinguished name of the entry to add.
 void setEntry(Entry entry)
          Sets the Entry to add.
 void setEntryDn(DN 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.internal.InternalResultResponseRequest
getResultResponse
 
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalRequest
hasResponse
 
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalMessage
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
 
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalAbandonableRequest
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

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

Returns:
the Dn of the added entry.

setEntryDn

void setEntryDn(DN 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.