com.unboundid.directory.sdk.common.operation
Interface AddRequest

All Superinterfaces:
ChangeRequest, Request
All Known Subinterfaces:
UpdatableAddRequest

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface AddRequest
extends ChangeRequest

This interface defines a set of methods which may be used to interact with an add request.


Method Summary
 Entry getEntry()
          Retrieves the entry to be added.
 ReadOnlyAddRequest toLDAPSDKRequest()
          Retrieves an LDAP SDK representation of this add request.
 LDIFAddChangeRecord toLDIFChangeRecord()
          Retrieves an LDIF change record that corresponds to this add request.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request
getOperationType, getRequestControls
 

Method Detail

getEntry

Entry getEntry()
Retrieves the entry to be added.

Returns:
The entry to be added.

toLDAPSDKRequest

ReadOnlyAddRequest toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this add request.

Returns:
An LDAP SDK representation of this add request.

toLDIFChangeRecord

LDIFAddChangeRecord toLDIFChangeRecord()
Retrieves an LDIF change record that corresponds to this add request.

Specified by:
toLDIFChangeRecord in interface ChangeRequest
Returns:
An LDIF change record that corresponds to this add request.