org.opends.server.core
Interface CompareOperation

All Superinterfaces:
Operation
All Known Implementing Classes:
CompareOperationBasis, CompareOperationWrapper, LocalBackendCompareOperation

public interface CompareOperation
extends Operation

This interface 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
 
Method Summary
 ByteString getAssertionValue()
          Retrieves the assertion value for this compare operation.
 AttributeType getAttributeType()
          Retrieves the attribute type for this compare operation.
 DN getEntryDN()
          Retrieves the DN of the entry to compare.
 DN getProxiedAuthorizationDN()
          Retrieves the proxied authorization target DN for this compare operation.
 java.lang.String getRawAttributeType()
          Retrieves the raw attribute type for this compare operation.
 ByteString getRawEntryDN()
          Retrieves the raw, unprocessed entry DN as included in the client request.
 void setAssertionValue(ByteString assertionValue)
          Specifies the assertion value for this compare operation.
 void setAttributeType(AttributeType attributeType)
          Specifies the attribute type for this compare operation.
 void setProxiedAuthorizationDN(DN proxiedAuthorizationDN)
          Specifies the proxied authorization target DN for this compare operation.
 void setRawAttributeType(java.lang.String rawAttributeType)
          Specifies the raw attribute type for this compare operation.
 void setRawEntryDN(ByteString rawEntryDN)
          Specifies the raw, unprocessed entry DN as included in the client request.
 
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
 

Method Detail

getRawEntryDN

ByteString getRawEntryDN()
Retrieves the raw, unprocessed entry DN as included in the client request. The DN that is returned may or may not be a valid DN, since no validation will have been performed upon it.

Returns:
The raw, unprocessed entry DN as included in the client request.

setRawEntryDN

void setRawEntryDN(ByteString rawEntryDN)
Specifies the raw, unprocessed entry DN as included in the client request. This should only be called by pre-parse plugins.

Parameters:
rawEntryDN - The raw, unprocessed entry DN as included in the client request.

getEntryDN

DN getEntryDN()
Retrieves the DN of the entry to compare. This should not be called by pre-parse plugins because the processed DN will not be available yet. Instead, they should call the getRawEntryDN method.

Returns:
The DN of the entry to compare, or null if the raw entry DN has not yet been processed.

getRawAttributeType

java.lang.String getRawAttributeType()
Retrieves the raw attribute type for this compare operation.

Returns:
The raw attribute type for this compare operation.

setRawAttributeType

void setRawAttributeType(java.lang.String rawAttributeType)
Specifies the raw attribute type for this compare operation. This should only be called by pre-parse plugins.

Parameters:
rawAttributeType - The raw attribute type for this compare operation.

getAttributeType

AttributeType getAttributeType()
Retrieves the attribute type for this compare operation. This should not be called by pre-parse plugins because the processed attribute type will not be available yet.

Returns:
The attribute type for this compare operation.

setAttributeType

void setAttributeType(AttributeType attributeType)
Specifies the attribute type for this compare operation.

Parameters:
attributeType - The attribute type for this compare operation.

getAssertionValue

ByteString getAssertionValue()
Retrieves the assertion value for this compare operation.

Returns:
The assertion value for this compare operation.

setAssertionValue

void setAssertionValue(ByteString assertionValue)
Specifies the assertion value for this compare operation. This should only be called by pre-parse and pre-operation plugins.

Parameters:
assertionValue - The assertion value for this compare operation.

getProxiedAuthorizationDN

DN getProxiedAuthorizationDN()
Retrieves the proxied authorization target DN for this compare operation.

Returns:
The proxied authorization target DN for this compare operation

setProxiedAuthorizationDN

void setProxiedAuthorizationDN(DN proxiedAuthorizationDN)
Specifies the proxied authorization target DN for this compare operation.

Parameters:
proxiedAuthorizationDN - The proxied authorization target DN for this compare operation