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

All Superinterfaces:
ChangeRequest, Request
All Known Subinterfaces:
UpdatableDeleteRequest

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

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


Method Summary
 java.lang.String getDN()
          Retrieves the DN of the entry to be deleted.
 ReadOnlyDeleteRequest toLDAPSDKRequest()
          Retrieves an LDAP SDK representation of this delete request.
 LDIFDeleteChangeRecord toLDIFChangeRecord()
          Retrieves an LDIF change record that corresponds to this delete request.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Request
getOperationType, getRequestControls
 

Method Detail

getDN

java.lang.String getDN()
Retrieves the DN of the entry to be deleted.

Returns:
The DN of the entry to be deleted.

toLDAPSDKRequest

ReadOnlyDeleteRequest toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this delete request.

Returns:
An LDAP SDK representation of this delete request.

toLDIFChangeRecord

LDIFDeleteChangeRecord toLDIFChangeRecord()
Retrieves an LDIF change record that corresponds to this delete request.

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