| | |
| | | } |
| | | return ccr; |
| | | } |
| | | |
| | | } |
| | | |
| | | /** A read write lock to handle schema changes and bulk changes. */ |
| | |
| | | dn2uri.checkTargetForReferral(baseEntry, searchScope); |
| | | } |
| | | |
| | | /* |
| | | * The base entry is only included for whole subtree search. |
| | | */ |
| | | /* The base entry is only included for whole subtree search. */ |
| | | if (searchScope == SearchScope.WHOLE_SUBTREE |
| | | && searchOperation.getFilter().matchesEntry(baseEntry)) |
| | | { |
| | |
| | | Cursor<ByteString, ByteString> cursor = txn.openCursor(dn2id.getName()); |
| | | try |
| | | { |
| | | |
| | | // Step forward until we pass the ending value. |
| | | boolean success = cursor.positionToKeyOrNext(suffix); |
| | | while (success && cursor.getKey().compareTo(end) < 0) |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Finds an existing entry whose DN is the closest ancestor of a given baseDN. |
| | | * |
| | |
| | | return false; |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Fetch the base Entry of the EntryContainer. |
| | | * @param baseDN the DN for the base entry |