Class RenameOperationExecutor

java.lang.Object
org.springframework.ldap.transaction.compensating.RenameOperationExecutor
All Implemented Interfaces:
CompensatingTransactionOperationExecutor

public class RenameOperationExecutor extends Object implements CompensatingTransactionOperationExecutor
A CompensatingTransactionOperationExecutor to manage a rename operation. Performs a rename operation in performOperation(), a negating rename in rollback(), and nothing in commit().
Since:
1.2
  • Constructor Details

    • RenameOperationExecutor

      public RenameOperationExecutor(LdapOperations ldapOperations, Name originalDn, Name newDn)
      Constructor.
      Parameters:
      ldapOperations - The LdapOperations to use for performing the rollback operation.
      originalDn - DN that the entry was moved from in the recorded operation.
      newDn - DN that the entry has been moved to in the recorded operation.
  • Method Details