| | |
| | | * |
| | | * |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | * Portions copyright 2011 ForgeRock AS |
| | | */ |
| | | package org.opends.server.backends.jeb; |
| | | import org.opends.messages.Message; |
| | |
| | | import org.opends.server.types.*; |
| | | |
| | | import static org.opends.messages.JebMessages.*; |
| | | |
| | | import java.util.ArrayList; |
| | | import java.util.Arrays; |
| | | import java.util.HashMap; |
| | |
| | | if (completeList.isEmpty() && cleanList.isEmpty()) |
| | | { |
| | | verifyDN2ID = true; |
| | | verifyID2Children = true; |
| | | verifyID2Subtree = true; |
| | | if (rootContainer.getConfiguration().isSubordinateIndexesEnabled()) |
| | | { |
| | | verifyID2Children = true; |
| | | verifyID2Subtree = true; |
| | | } |
| | | attrIndexList.addAll(entryContainer.getAttributeIndexes()); |
| | | } |
| | | else |
| | |
| | | } |
| | | else if (lowerName.equals("id2children")) |
| | | { |
| | | verifyID2Children = true; |
| | | if (rootContainer.getConfiguration().isSubordinateIndexesEnabled()) |
| | | { |
| | | verifyID2Children = true; |
| | | } |
| | | else |
| | | { |
| | | Message msg = NOTE_JEB_SUBORDINATE_INDEXES_DISABLED |
| | | .get(rootContainer.getConfiguration().getBackendId()); |
| | | throw new JebException(msg); |
| | | } |
| | | } |
| | | else if (lowerName.equals("id2subtree")) |
| | | { |
| | | verifyID2Subtree = true; |
| | | if (rootContainer.getConfiguration().isSubordinateIndexesEnabled()) |
| | | { |
| | | verifyID2Subtree = true; |
| | | } |
| | | else |
| | | { |
| | | Message msg = NOTE_JEB_SUBORDINATE_INDEXES_DISABLED |
| | | .get(rootContainer.getConfiguration().getBackendId()); |
| | | throw new JebException(msg); |
| | | } |
| | | } |
| | | else if(lowerName.startsWith("vlv.")) |
| | | { |