com.unboundid.directory.sdk.common.operation
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
 AssuredReplicationRequirements getAssuredReplicationRequirements()
          Retrieves the assured replication requirements that will be used for this operation, if any.
 Entry getDeletedEntry()
          Retrieves the entry against which the delete operation was processed, if available.
 Entry getSoftDeletedEntry()
          Retrieves the soft-deleted entry if this DeleteResult is 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 null if the entry is not available.

getSoftDeletedEntry

Entry getSoftDeletedEntry()
Retrieves the soft-deleted entry if this DeleteResult is in response to a soft-delete request.

Returns:
The soft-deleted entry, or null if 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 null if no assurance will be provided for this operation.