| | |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2013-2016 ForgeRock AS. |
| | | */ |
| | | |
| | | package org.opends.guitools.controlpanel.task; |
| | | |
| | | import static org.forgerock.opendj.ldap.SearchScope.*; |
| | |
| | | import org.opends.guitools.controlpanel.datamodel.BackendDescriptor; |
| | | import org.opends.guitools.controlpanel.datamodel.BaseDNDescriptor; |
| | | import org.opends.guitools.controlpanel.datamodel.ControlPanelInfo; |
| | | import org.opends.guitools.controlpanel.datamodel.CustomSearchResult; |
| | | import org.opends.guitools.controlpanel.ui.ColorAndFontConstants; |
| | | import org.opends.guitools.controlpanel.ui.ProgressDialog; |
| | | import org.opends.guitools.controlpanel.ui.nodes.BasicNode; |
| | |
| | | SearchResultEntry sr = entryDNs.readEntry(); |
| | | if (!sr.getName().equals("")) |
| | | { |
| | | CustomSearchResult res = new CustomSearchResult(sr); |
| | | deleteSubtreeRecursively(conn, res.getName(), null, toNotify); |
| | | deleteSubtreeRecursively(conn, sr.getName(), null, toNotify); |
| | | } |
| | | } |
| | | } |