Interface DeleteResult
-
- All Superinterfaces:
GenericResult,Result
- All Known Subinterfaces:
UpdatableDeleteResult
@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface DeleteResult extends GenericResult
This interface defines a set of methods which may be used to interact with delete results.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AssuredReplicationRequirementsgetAssuredReplicationRequirements()Retrieves the assured replication requirements that will be used for this operation, if any.EntrygetDeletedEntry()Retrieves the entry against which the delete operation was processed, if available.EntrygetSoftDeletedEntry()Retrieves the soft-deleted entry if thisDeleteResultis in response to a soft-delete request.-
Methods inherited from interface com.unboundid.directory.sdk.common.operation.GenericResult
getAdditionalLogMessage, getDiagnosticMessage, getMatchedDN, getReferralURLs, getResultCode, toLDAPSDKResult
-
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Result
getOperationType, getResultControls
-
-
-
-
Method Detail
-
getDeletedEntry
Entry getDeletedEntry()
Retrieves the entry against which the delete operation was processed, if available. This may be available for both hard and soft deletes.- Returns:
- The entry against which the delete operation was processed, or
nullif the entry is not available.
-
getSoftDeletedEntry
Entry getSoftDeletedEntry()
Retrieves the soft-deleted entry if thisDeleteResultis in response to a soft-delete request.- Returns:
- The soft-deleted entry, or
nullif the original request was not a soft delete request or the entry is not available.
-
getAssuredReplicationRequirements
AssuredReplicationRequirements getAssuredReplicationRequirements()
Retrieves the assured replication requirements that will be used for this operation, if any.- Returns:
- The assured replication requirements that will be used for this
operation, or
nullif no assurance will be provided for this operation.
-
-