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

All Superinterfaces:
Result
All Known Subinterfaces:
UpdatableAddResult, UpdatableBindResult, UpdatableCompareResult, UpdatableDeleteResult, UpdatableExtendedResult, UpdatableGenericResult, UpdatableModifyDNResult, UpdatableModifyResult, UpdatableSearchResult

@NotExtensible
@ThreadSafety(level=INTERFACE_NOT_THREADSAFE)
public interface UpdatableResult
extends Result

This interface defines a set of methods which may be used to update the contents of operation results.


Method Summary
 void addResultControl(com.unboundid.ldap.sdk.Control control)
          Adds the provided control to the set of result controls for this result.
 void setResultControls(java.util.List<com.unboundid.ldap.sdk.Control> controls)
          Updates the set of result controls for this result.
 
Methods inherited from interface com.unboundid.directory.sdk.common.operation.Result
getOperationType, getResultControls
 

Method Detail

setResultControls

void setResultControls(java.util.List<com.unboundid.ldap.sdk.Control> controls)
Updates the set of result controls for this result.

Parameters:
controls - The set of controls to use for this result. It may be null or empty if there should not be any controls.

addResultControl

void addResultControl(com.unboundid.ldap.sdk.Control control)
Adds the provided control to the set of result controls for this result.

Parameters:
control - The control to be added to the set of result controls for this result. It must not be null.