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

All Superinterfaces:
ExtendedResult, GenericResult, Result, UpdatableGenericResult, UpdatableResult

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface UpdatableExtendedResult
extends ExtendedResult, UpdatableGenericResult

This interface defines a set of methods which may be used to update extended results.


Method Summary
 void setResultData(com.unboundid.ldap.sdk.LDAPResult result)
          Sets the contents of this result with information from the provided LDAP result, including the result code, diagnostic message, matched DN, referral URLs, and controls.
 void setResultOID(java.lang.String oid)
          Specifies the OID for the extended result, if any.
 void setResultValue(com.unboundid.asn1.ASN1OctetString value)
          Specifies the value for the extended result, if any.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.ExtendedResult
getResultOID, getResultValue
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.UpdatableGenericResult
setAdditionalLogMessage, setDiagnosticMessage, setMatchedDN, setReferralURLs, setResultCode, setResultData
 
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.UpdatableResult
addResultControl, setResultControls
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Result
getOperationType, getResultControls
 

Method Detail

setResultOID

void setResultOID(java.lang.String oid)
Specifies the OID for the extended result, if any.

Parameters:
oid - The OID for the extended result. It may be null if there is none.

setResultValue

void setResultValue(com.unboundid.asn1.ASN1OctetString value)
Specifies the value for the extended result, if any.

Parameters:
value - The value for the extended result. It may be null if there is none.

setResultData

void setResultData(com.unboundid.ldap.sdk.LDAPResult result)
Sets the contents of this result with information from the provided LDAP result, including the result code, diagnostic message, matched DN, referral URLs, and controls. If the provided result is also an instance of an LDAP SDK ExtendedResult, then the response OID and value will also be updated.

Specified by:
setResultData in interface UpdatableGenericResult
Parameters:
result - The result to use to update this result. It must not be null.