@NotExtensible @ThreadSafety(level=INTERFACE_NOT_THREADSAFE) public interface UpdatableGenericResult extends GenericResult, UpdatableResult
Modifier and Type | Method and Description |
---|---|
void |
setAdditionalLogMessage(java.lang.String message)
Specifies an additional log message for the result which will not be
returned to the client but may be included in access log messages for the
associated operation.
|
void |
setDiagnosticMessage(java.lang.String diagnosticMessage)
Specifies the diagnostic message for the result, if any.
|
void |
setMatchedDN(java.lang.String matchedDN)
Specifies the matched DN for the result, if any.
|
void |
setReferralURLs(java.util.List<java.lang.String> referralURLs)
Specifies the referral URLs for the result.
|
void |
setResultCode(ResultCode resultCode)
Specifies the result code for the result.
|
void |
setResultData(LDAPException le)
Sets the contents of this result with information from the provided
LDAP exception, including the result code, diagnostic message, matched DN,
referral URLs, and controls.
|
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.
|
getAdditionalLogMessage, getDiagnosticMessage, getMatchedDN, getReferralURLs, getResultCode, toLDAPSDKResult
addResultControl, setResultControls
getOperationType, getResultControls
void setResultCode(ResultCode resultCode)
resultCode
- The result code for the result. It must not be
null
.void setMatchedDN(java.lang.String matchedDN) throws LDAPException
matchedDN
- The matched DN for the result. It may be null
if there is none.LDAPException
- If the provided DN cannot be parsed.void setDiagnosticMessage(java.lang.String diagnosticMessage)
diagnosticMessage
- The diagnostic message for the result. It may
be null
if there is none.void setReferralURLs(java.util.List<java.lang.String> referralURLs)
referralURLs
- The referral URLs for the result. It may be
null
or empty if there are none.void setAdditionalLogMessage(java.lang.String message)
message
- An additional log message for the result.void setResultData(LDAPResult result)
result
- The result to use to update this result. It must not be
null
.void setResultData(LDAPException le)
le
- The exception to use to update this result. It must not be
null
.