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

All Superinterfaces:
ChangeRequest, Request
All Known Subinterfaces:
UpdatableModifyRequest

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

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


Method Summary
 java.lang.String getDN()
          Retrieves the DN of the entry to modify.
 java.util.List<com.unboundid.ldap.sdk.Modification> getModifications()
          Retrieves the modifications to be applied.
 com.unboundid.ldap.sdk.ReadOnlyModifyRequest toLDAPSDKRequest()
          Retrieves an LDAP SDK representation of this modify request.
 com.unboundid.ldif.LDIFModifyChangeRecord toLDIFChangeRecord()
          Retrieves an LDIF change record that corresponds to this modify 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 modify.

Returns:
The DN of the entry to modify.

getModifications

java.util.List<com.unboundid.ldap.sdk.Modification> getModifications()
Retrieves the modifications to be applied.

Returns:
The modifications to be applied.

toLDAPSDKRequest

com.unboundid.ldap.sdk.ReadOnlyModifyRequest toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this modify request.

Returns:
An LDAP SDK representation of this modify request.

toLDIFChangeRecord

com.unboundid.ldif.LDIFModifyChangeRecord toLDIFChangeRecord()
Retrieves an LDIF change record that corresponds to this modify request.

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