From 0cdc4f67dfc0e2fb8b83d5f0de8188ec3686d04c Mon Sep 17 00:00:00 2001
From: floblanc <floblanc@localhost>
Date: Tue, 10 Nov 2009 13:59:02 +0000
Subject: [PATCH] Fix Issue 4344 CompareOperation API does not support attribute options and Issue CompareOperationBasis does not properly handle get/setAttributeType.

---
 opends/src/server/org/opends/server/core/CompareOperation.java |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/opends/src/server/org/opends/server/core/CompareOperation.java b/opends/src/server/org/opends/server/core/CompareOperation.java
index 27269bf..fed9ea0 100644
--- a/opends/src/server/org/opends/server/core/CompareOperation.java
+++ b/opends/src/server/org/opends/server/core/CompareOperation.java
@@ -22,10 +22,12 @@
  * CDDL HEADER END
  *
  *
- *      Copyright 2006-2008 Sun Microsystems, Inc.
+ *      Copyright 2006-2009 Sun Microsystems, Inc.
  */
 package org.opends.server.core;
 
+import java.util.Set;
+
 import org.opends.server.types.*;
 
 
@@ -104,6 +106,22 @@
 
 
   /**
+   * Retrieves the attribute options for this compare operation. This should
+   * not be called by the pre-parse plugins because the processed attribute
+   * options will not be available yet.
+   *
+   * @return  The attribute options for this compare operation.
+   */
+  public Set<String> getAttributeOptions();
+
+  /**
+   * Specifies the attribute options for this compare operation.
+   *
+   * @param attributeOptions The attribute options for this compare operation.
+   */
+  public void setAttributeOptions(Set<String> attributeOptions);
+
+  /**
    * Retrieves the assertion value for this compare operation.
    *
    * @return  The assertion value for this compare operation.

--
Gitblit v1.10.0