public class RenameOperationExecutor extends Object implements CompensatingTransactionOperationExecutor
CompensatingTransactionOperationExecutorto manage a rename operation. Performs a rename operation in
performOperation(), a negating rename in
rollback(), and nothing in
|Constructor and Description|
|Modifier and Type||Method and Description|
Commit the operation.
Perform the operation.
Rollback the operation, restoring state of the target as it was before the operation was performed using the information supplied on creation of this instance.
public RenameOperationExecutor(LdapOperations ldapOperations, Name originalDn, Name newDn)
LdapOperationsto 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.
public void rollback()
public void commit()
public void performOperation()