public class ModifyAttributesOperationExecutor extends Object implements CompensatingTransactionOperationExecutor
CompensatingTransactionOperationExecutorto manage a
modifyAttributesoperation. Performs a
performOperation(), a negating modifyAttributes 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 ModifyAttributesOperationExecutor(LdapOperations ldapOperations, Name dn, ModificationItem actualModifications, ModificationItem compensatingModifications)
LdapOperationsto use to perform the rollback operation.
dn- the DN of the target entry.
actualModifications- the actual modificationItems that were sent to the modifyAttributes operation.
compensatingModifications- the ModificationItems to undo the recorded operation.
public void rollback()
public void commit()
public void performOperation()