mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

ludovicp
30.59.2010 66680d3613957ad09437fc8b64885a0ad87f9e53
opends/src/server/org/opends/server/api/SubtreeSpecification.java
@@ -22,12 +22,13 @@
 * CDDL HEADER END
 *
 *
 *      Copyright 2006-2008 Sun Microsystems, Inc.
 *      Copyright 2006-2010 Sun Microsystems, Inc.
 */
package org.opends.server.api;
import org.opends.server.types.DN;
import org.opends.server.types.Entry;
@@ -53,6 +54,16 @@
  /**
   * Get the absolute base DN of the subtree specification.
   *
   * @return Returns the absolute base DN of the subtree
   *         specification.
   */
  public abstract DN getBaseDN();
  /**
   * Determine if an entry is within the scope of the subtree
   * specification.
   *
@@ -66,6 +77,19 @@
  /**
   * Determine if the specified DN is within the scope of the subtree
   * specification.
   *
   * @param dn  The distinguished name.
   * @return Returns <code>true</code> if the DN is within the scope
   *         of the subtree specification, or <code>false</code>
   *         otherwise.
   */
  public abstract boolean isDNWithinScope(DN dn);
  /**
   * Indicates whether the provided object is logically equal to this
   * subtree specification object.
   *