| | |
| | | * |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013 ForgeRock AS |
| | | * Portions Copyright 2013-2014 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.task; |
| | |
| | | BasicNode node = (BasicNode)path.getLastPathComponent(); |
| | | try |
| | | { |
| | | DN dn = DN.decode(node.getDN()); |
| | | DN dn = DN.valueOf(node.getDN()); |
| | | entries.add(dn); |
| | | } |
| | | catch (DirectoryException de) |
| | |
| | | BasicNode node = (BasicNode)path.getLastPathComponent(); |
| | | try |
| | | { |
| | | DN dn = DN.decode(node.getDN()); |
| | | DN dn = DN.valueOf(node.getDN()); |
| | | boolean isDnDeleted = false; |
| | | for (DN deletedDn : alreadyDeleted) |
| | | { |
| | |
| | | { |
| | | CustomSearchResult res = |
| | | new CustomSearchResult(sr, dnToRemove.toString()); |
| | | entryDNFound = DN.decode(res.getDN()); |
| | | entryDNFound = DN.valueOf(res.getDN()); |
| | | deleteSubtreeRecursively(ctx, entryDNFound, null, toNotify); |
| | | } |
| | | } |