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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setResultData(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(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.GenericResult
getAdditionalLogMessage, getDiagnosticMessage, getMatchedDN, getReferralURLs, getResultCode, toLDAPSDKResult
-
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Result
getOperationType, getResultControls
-
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.UpdatableResult
addResultControl, setResultControls
-
-
-
-
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 benull
if there is none.
-
setResultValue
void setResultValue(ASN1OctetString value)
Specifies the value for the extended result, if any.- Parameters:
value
- The value for the extended result. It may benull
if there is none.
-
setResultData
void setResultData(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 SDKExtendedResult
, then the response OID and value will also be updated.- Specified by:
setResultData
in interfaceUpdatableGenericResult
- Parameters:
result
- The result to use to update this result. It must not benull
.
-
-