|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.ldap.transaction.compensating.ModifyAttributesOperationExecutor
public class ModifyAttributesOperationExecutor
A CompensatingTransactionOperationExecutor
to manage a
modifyAttributes
operation. Performs a
modifyAttributes
in performOperation()
, a negating
modifyAttributes in rollback()
, and nothing in commit()
.
Constructor Summary | |
---|---|
ModifyAttributesOperationExecutor(LdapOperations ldapOperations,
Name dn,
ModificationItem[] actualModifications,
ModificationItem[] compensatingModifications)
Constructor. |
Method Summary | |
---|---|
void |
commit()
Commit the operation. |
void |
performOperation()
Perform the operation. |
void |
rollback()
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ModifyAttributesOperationExecutor(LdapOperations ldapOperations, Name dn, ModificationItem[] actualModifications, ModificationItem[] compensatingModifications)
ldapOperations
- The LdapOperations
to 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.Method Detail |
---|
public void rollback()
CompensatingTransactionOperationExecutor
rollback
in interface CompensatingTransactionOperationExecutor
public void commit()
CompensatingTransactionOperationExecutor
commit
in interface CompensatingTransactionOperationExecutor
public void performOperation()
CompensatingTransactionOperationExecutor
performOperation
in interface CompensatingTransactionOperationExecutor
|
Spring LDAP | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |