From 66680d3613957ad09437fc8b64885a0ad87f9e53 Mon Sep 17 00:00:00 2001
From: ludovicp <ludovicp@localhost>
Date: Fri, 30 Jul 2010 11:59:52 +0000
Subject: [PATCH] Extend RFC3672 subtreeSpecification to allow OpenDS specific RelativeSubtreeSpec and AbsoluteSubtreeSpec.
---
opends/src/server/org/opends/server/core/SimpleSubtreeSpecification.java | 19 +++++--------------
1 files changed, 5 insertions(+), 14 deletions(-)
diff --git a/opends/src/server/org/opends/server/core/SimpleSubtreeSpecification.java b/opends/src/server/org/opends/server/core/SimpleSubtreeSpecification.java
index 4cea53b..d303493 100644
--- a/opends/src/server/org/opends/server/core/SimpleSubtreeSpecification.java
+++ b/opends/src/server/org/opends/server/core/SimpleSubtreeSpecification.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2006-2008 Sun Microsystems, Inc.
+ * Copyright 2006-2010 Sun Microsystems, Inc.
*/
package org.opends.server.core;
@@ -404,16 +404,9 @@
}
/**
- * Determine if the specified DN is within the scope of the subtree
- * specification.
- *
- * @param dn
- * The distringuished name.
- * @return Returns <code>true</code> if the DN is within the scope
- * of the subtree specification, or <code>false</code>
- * otherwise.
+ * {@inheritDoc}
*/
- protected final boolean isDNWithinScope(DN dn) {
+ public final boolean isDNWithinScope(DN dn) {
if (!dn.isDescendantOf(baseDN)) {
return false;
@@ -460,11 +453,9 @@
}
/**
- * Get the absolute base DN of the subtree specification.
- *
- * @return Returns the absolute base DN of the subtree specification.
+ * {@inheritDoc}
*/
- protected final DN getBaseDN() {
+ public final DN getBaseDN() {
return baseDN;
}
--
Gitblit v1.10.0