org.opends.server.workflowelement.localbackend
Class LocalBackendCompareOperation

java.lang.Object
  extended by org.opends.server.core.OperationWrapper
      extended by org.opends.server.core.CompareOperationWrapper
          extended by org.opends.server.workflowelement.localbackend.LocalBackendCompareOperation
All Implemented Interfaces:
CompareOperation, Operation, PluginOperation, PostOperationCompareOperation, PostOperationOperation, PostResponseCompareOperation, PostResponseOperation, PreOperationCompareOperation, PreOperationOperation

public class LocalBackendCompareOperation
extends CompareOperationWrapper
implements PreOperationCompareOperation, PostOperationCompareOperation, PostResponseCompareOperation

This class defines an operation that may be used to determine whether a specified entry in the Directory Server contains a given attribute-value pair.


Field Summary
 
Fields inherited from interface org.opends.server.types.Operation
LOCALBACKENDOPERATIONS
 
Constructor Summary
LocalBackendCompareOperation(CompareOperation compare)
          Creates a new compare operation based on the provided compare operation.
 
Method Summary
 Entry getEntryToCompare()
          Retrieves the entry to target with the compare operation.
 
Methods inherited from class org.opends.server.core.CompareOperationWrapper
getAssertionValue, getAttributeType, getEntryDN, getProxiedAuthorizationDN, getRawAttributeType, getRawEntryDN, setAssertionValue, setAttributeType, setProxiedAuthorizationDN, setRawAttributeType, setRawEntryDN
 
Methods inherited from class org.opends.server.core.OperationWrapper
abort, addRequestControl, addResponseControl, appendAdditionalLogMessage, appendErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, getAdditionalLogMessage, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getCommonLogElements, getConnectionID, getErrorMessage, getMatchedDN, getMessageID, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getReferralURLs, getRequestControls, getRequestLogElements, getResponseControls, getResponseLogElements, getResultCode, isInternalOperation, isSynchronizationOperation, operationCompleted, removeAttachment, removeRequestControl, removeResponseControl, setAdditionalLogMessage, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInternalOperation, setMatchedDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.opends.server.types.operation.PreOperationCompareOperation
getAssertionValue, getAttributeType, getEntryDN, getRawAttributeType, getRawEntryDN, setAssertionValue
 
Methods inherited from interface org.opends.server.types.operation.PreOperationOperation
addResponseControl, appendAdditionalLogMessage, appendErrorMessage, getAdditionalLogMessage, getAuthorizationDN, getErrorMessage, removeResponseControl, setAdditionalLogMessage, setErrorMessage
 
Methods inherited from interface org.opends.server.types.operation.PostOperationCompareOperation
getAssertionValue, getAttributeType, getEntryDN, getRawAttributeType, getRawEntryDN
 
Methods inherited from interface org.opends.server.types.operation.PostOperationOperation
addResponseControl, appendAdditionalLogMessage, appendErrorMessage, getAdditionalLogMessage, getAuthorizationDN, getErrorMessage, getMatchedDN, getReferralURLs, getResultCode, removeResponseControl, setAdditionalLogMessage, setErrorMessage, setMatchedDN, setReferralURLs, setResponseData, setResultCode
 
Methods inherited from interface org.opends.server.types.operation.PostResponseCompareOperation
getAssertionValue, getAttributeType, getEntryDN, getRawAttributeType, getRawEntryDN
 
Methods inherited from interface org.opends.server.types.operation.PostResponseOperation
getAdditionalLogMessage, getAuthorizationDN, getErrorMessage, getMatchedDN, getProcessingStopTime, getProcessingTime, getReferralURLs, getResultCode
 
Methods inherited from interface org.opends.server.types.operation.PluginOperation
checkIfCanceled, disconnectClient, getAttachment, getAttachments, getClientConnection, getConnectionID, getMessageID, getOperationID, getOperationType, getProcessingStartTime, getRequestControls, getResponseControls, isInternalOperation, isSynchronizationOperation, removeAttachment, setAttachment, toString, toString
 
Methods inherited from interface org.opends.server.types.Operation
abort, addRequestControl, addResponseControl, appendAdditionalLogMessage, appendErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, getAdditionalLogMessage, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getCommonLogElements, getConnectionID, getErrorMessage, getMatchedDN, getMessageID, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getReferralURLs, getRequestControls, getRequestLogElements, getResponseControls, getResponseLogElements, getResultCode, isInternalOperation, isSynchronizationOperation, operationCompleted, removeAttachment, removeRequestControl, removeResponseControl, setAdditionalLogMessage, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInternalOperation, setMatchedDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toString, toString
 

Constructor Detail

LocalBackendCompareOperation

public LocalBackendCompareOperation(CompareOperation compare)
Creates a new compare operation based on the provided compare operation.

Parameters:
compare - the compare operation
Method Detail

getEntryToCompare

public Entry getEntryToCompare()
Retrieves the entry to target with the compare operation.

Specified by:
getEntryToCompare in interface PostOperationCompareOperation
Specified by:
getEntryToCompare in interface PostResponseCompareOperation
Specified by:
getEntryToCompare in interface PreOperationCompareOperation
Returns:
The entry to target with the compare operation, or null if the entry is not yet available.