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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDN()
Retrieves the DN of the entry to modify.java.util.List<Modification>
getModifications()
Retrieves the modifications to be applied.ReadOnlyModifyRequest
toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this modify request.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<Modification> getModifications()
Retrieves the modifications to be applied.- Returns:
- The modifications to be applied.
-
toLDAPSDKRequest
ReadOnlyModifyRequest toLDAPSDKRequest()
Retrieves an LDAP SDK representation of this modify request.- Returns:
- An LDAP SDK representation of this modify request.
-
toLDIFChangeRecord
LDIFModifyChangeRecord toLDIFChangeRecord()
Retrieves an LDIF change record that corresponds to this modify request.- Specified by:
toLDIFChangeRecord
in interfaceChangeRequest
- Returns:
- An LDIF change record that corresponds to this modify request.
-
-