Package org.opends.server.core
Class ExtendedOperationWrapper
- java.lang.Object
-
- org.opends.server.core.OperationWrapper<ExtendedOperation>
-
- org.opends.server.core.ExtendedOperationWrapper
-
- All Implemented Interfaces:
Runnable,ExtendedOperation,Operation
public abstract class ExtendedOperationWrapper extends OperationWrapper<ExtendedOperation> implements ExtendedOperation
This abstract class wraps/decorates a given extended operation. This class will be extended by sub-classes to enhance the functionality of the ExtendedOperationBasis.
-
-
Field Summary
-
Fields inherited from interface org.opends.server.types.Operation
LOCALBACKENDOPERATIONS
-
-
Constructor Summary
Constructors Constructor Description ExtendedOperationWrapper(ExtendedOperation extended)Creates a new extended operation wrapper based on the provided extended operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRequestOID()Retrieves the OID for the request associated with this extended operation.ByteStringgetRequestValue()Retrieves the value for the request associated with this extended operation.StringgetResponseOID()Retrieves the OID to include in the response to the client.ByteStringgetResponseValue()Retrieves the value to include in the response to the client.voidsetResponseOID(String responseOID)Specifies the OID to include in the response to the client.voidsetResponseValue(ByteString responseValue)Specifies the value to include in the response to the client.-
Methods inherited from class org.opends.server.core.OperationWrapper
abort, addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, appendMaskedErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, equals, getAdditionalLogItems, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getConnectionID, getErrorMessage, getMaskedErrorMessage, getMaskedResultCode, getMatchedDN, getMessageID, getOperation, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getProxiedAuthorizationDN, getReferralURLs, getRequestControl, getRequestControls, getResponseControls, getResultCode, hashCode, isInnerOperation, isInternalOperation, isSynchronizationOperation, operationCompleted, registerPostResponseCallback, removeAttachment, removeResponseControl, run, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInnerOperation, setInternalOperation, setMaskedErrorMessage, setMaskedResultCode, setMatchedDN, setProxiedAuthorizationDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toString, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.opends.server.types.Operation
abort, addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, appendMaskedErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, getAdditionalLogItems, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getConnectionID, getErrorMessage, getMaskedErrorMessage, getMaskedResultCode, getMatchedDN, getMessageID, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getProxiedAuthorizationDN, getReferralURLs, getRequestControl, getRequestControls, getResponseControls, getResultCode, isInnerOperation, isInternalOperation, isSynchronizationOperation, operationCompleted, registerPostResponseCallback, removeAttachment, removeResponseControl, run, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInnerOperation, setInternalOperation, setMaskedErrorMessage, setMaskedResultCode, setMatchedDN, setProxiedAuthorizationDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toString, toString
-
-
-
-
Constructor Detail
-
ExtendedOperationWrapper
public ExtendedOperationWrapper(ExtendedOperation extended)
Creates a new extended operation wrapper based on the provided extended operation.- Parameters:
extended- The extended operation to wrap
-
-
Method Detail
-
getRequestOID
public String getRequestOID()
Description copied from interface:ExtendedOperationRetrieves the OID for the request associated with this extended operation.- Specified by:
getRequestOIDin interfaceExtendedOperation- Returns:
- The OID for the request associated with this extended operation.
-
getResponseOID
public String getResponseOID()
Description copied from interface:ExtendedOperationRetrieves the OID to include in the response to the client.- Specified by:
getResponseOIDin interfaceExtendedOperation- Returns:
- The OID to include in the response to the client.
-
getRequestValue
public ByteString getRequestValue()
Description copied from interface:ExtendedOperationRetrieves the value for the request associated with this extended operation.- Specified by:
getRequestValuein interfaceExtendedOperation- Returns:
- The value for the request associated with this extended operation.
-
getResponseValue
public ByteString getResponseValue()
Description copied from interface:ExtendedOperationRetrieves the value to include in the response to the client.- Specified by:
getResponseValuein interfaceExtendedOperation- Returns:
- The value to include in the response to the client.
-
setResponseOID
public void setResponseOID(String responseOID)
Description copied from interface:ExtendedOperationSpecifies the OID to include in the response to the client.- Specified by:
setResponseOIDin interfaceExtendedOperation- Parameters:
responseOID- The OID to include in the response to the client.
-
setResponseValue
public void setResponseValue(ByteString responseValue)
Description copied from interface:ExtendedOperationSpecifies the value to include in the response to the client.- Specified by:
setResponseValuein interfaceExtendedOperation- Parameters:
responseValue- The value to include in the response to the client.
-
-