Class CompareOperationWrapper

    • Constructor Detail

      • CompareOperationWrapper

        public CompareOperationWrapper​(CompareOperation compare)
        Creates a new compare operation based on the provided compare operation.
        Parameters:
        compare - The compare operation to wrap
    • Method Detail

      • getRawEntryDN

        public ByteString getRawEntryDN()
        Description copied from interface: CompareOperation
        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.
        Specified by:
        getRawEntryDN in interface CompareOperation
        Returns:
        The raw, unprocessed entry DN as included in the client request.
      • setRawEntryDN

        public void setRawEntryDN​(ByteString rawEntryDN)
        Description copied from interface: CompareOperation
        Specifies the raw, unprocessed entry DN as included in the client request. This should only be called by pre-parse plugins.
        Specified by:
        setRawEntryDN in interface CompareOperation
        Parameters:
        rawEntryDN - The raw, unprocessed entry DN as included in the client request.
      • getEntryDN

        public DN getEntryDN()
        Description copied from interface: CompareOperation
        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.
        Specified by:
        getEntryDN in interface CompareOperation
        Returns:
        The DN of the entry to compare, or null if the raw entry DN has not yet been processed.
      • getRawAttributeType

        public String getRawAttributeType()
        Description copied from interface: CompareOperation
        Retrieves the raw attribute type for this compare operation.
        Specified by:
        getRawAttributeType in interface CompareOperation
        Returns:
        The raw attribute type for this compare operation.
      • setRawAttributeType

        public void setRawAttributeType​(String rawAttributeType)
        Description copied from interface: CompareOperation
        Specifies the raw attribute type for this compare operation. This should only be called by pre-parse plugins.
        Specified by:
        setRawAttributeType in interface CompareOperation
        Parameters:
        rawAttributeType - The raw attribute type for this compare operation.
      • getAttributeDescription

        public AttributeDescription getAttributeDescription()
        Description copied from interface: CompareOperation
        Retrieves the attribute description for this compare operation. This should not be called by pre-parse plugins because the processed attribute description will not be available yet.
        Specified by:
        getAttributeDescription in interface CompareOperation
        Returns:
        The attribute description for this compare operation.
      • setAssertionValue

        public void setAssertionValue​(ByteString assertionValue)
        Description copied from interface: CompareOperation
        Specifies the assertion value for this compare operation. This should only be called by pre-parse and pre-operation plugins.
        Specified by:
        setAssertionValue in interface CompareOperation
        Parameters:
        assertionValue - The assertion value for this compare operation.