| | |
| | | |
| | | |
| | | |
| | | // The backend in which the operation is to be processed. |
| | | private Backend backend; |
| | | /** |
| | | * The backend in which the operation is to be processed. |
| | | */ |
| | | protected Backend backend; |
| | | |
| | | // Indicates whether the LDAP no-op control has been requested. |
| | | private boolean noOp; |
| | | /** |
| | | * Indicates whether the LDAP no-op control has been requested. |
| | | */ |
| | | protected boolean noOp; |
| | | |
| | | // The client connection on which this operation was requested. |
| | | private ClientConnection clientConnection; |
| | | /** |
| | | * The client connection on which this operation was requested. |
| | | */ |
| | | protected ClientConnection clientConnection; |
| | | |
| | | // The DN of the entry to be deleted. |
| | | private DN entryDN; |
| | | /** |
| | | * The DN of the entry to be deleted. |
| | | */ |
| | | protected DN entryDN; |
| | | |
| | | // The entry to be deleted. |
| | | private Entry entry; |
| | | /** |
| | | * The entry to be deleted. |
| | | */ |
| | | protected Entry entry; |
| | | |
| | | // The pre-read request control included in the request, if applicable. |
| | | private LDAPPreReadRequestControl preReadRequest; |
| | |
| | | * @throws CanceledOperationException |
| | | * if this operation should be cancelled |
| | | */ |
| | | void processLocalDelete(final LocalBackendWorkflowElement wfe) |
| | | public void processLocalDelete(final LocalBackendWorkflowElement wfe) |
| | | throws CanceledOperationException |
| | | { |
| | | boolean executePostOpPlugins = false; |
| | |
| | | * @throws DirectoryException If a problem occurs that should cause the |
| | | * operation to fail. |
| | | */ |
| | | private void handleRequestControls() |
| | | protected void handleRequestControls() |
| | | throws DirectoryException |
| | | { |
| | | List<Control> requestControls = getRequestControls(); |
| | |
| | | /** |
| | | * Performs any processing needed for the LDAP pre-read control. |
| | | */ |
| | | private void processPreReadControl() |
| | | protected void processPreReadControl() |
| | | { |
| | | if (preReadRequest != null) |
| | | { |
| | |
| | | } |
| | | } |
| | | |
| | | private boolean handleConflictResolution() { |
| | | /** |
| | | * Handle conflict resolution. |
| | | * @return {@code true} if processing should continue for the operation, or |
| | | * {@code false} if not. |
| | | */ |
| | | protected boolean handleConflictResolution() { |
| | | boolean returnVal = true; |
| | | |
| | | for (SynchronizationProvider<?> provider : |
| | |
| | | return returnVal; |
| | | } |
| | | |
| | | private void processSynchPostOperationPlugins() { |
| | | /** |
| | | * Invoke post operation synchronization providers. |
| | | */ |
| | | protected void processSynchPostOperationPlugins() { |
| | | |
| | | for (SynchronizationProvider<?> provider : |
| | | DirectoryServer.getSynchronizationProviders()) { |
| | |
| | | } |
| | | } |
| | | |
| | | private boolean processPreOperation() { |
| | | /** |
| | | * Process pre operation. |
| | | * @return {@code true} if processing should continue for the operation, or |
| | | * {@code false} if not. |
| | | */ |
| | | protected boolean processPreOperation() { |
| | | boolean returnVal = true; |
| | | |
| | | for (SynchronizationProvider<?> provider : |