| | |
| | | private long lastProgressTime; |
| | | private boolean equivalentCommandWithControlPrinted = false; |
| | | private boolean equivalentCommandWithoutControlPrinted = false; |
| | | private boolean useAdminCtx; |
| | | |
| | | /** |
| | | * Constructor of the task. |
| | |
| | | { |
| | | InitialLdapContext ctx = |
| | | controller.findConnectionForDisplayedEntry(node); |
| | | useAdminCtx = controller.isConfigurationNode(node); |
| | | if (node.getNumSubOrdinates() > 0) |
| | | { |
| | | deleteSubtreeWithControl(ctx, dn, path, toNotify); |
| | |
| | | ArrayList<String> args = new ArrayList<String>(); |
| | | args.add(getCommandLinePath("ldapdelete")); |
| | | args.addAll(getObfuscatedCommandLineArguments( |
| | | getConnectionCommandLineArguments())); |
| | | getConnectionCommandLineArguments(useAdminCtx, true))); |
| | | if (usingControl) |
| | | { |
| | | args.add("-J"); |