|
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.RenameOperationExecutor
public class RenameOperationExecutor
A CompensatingTransactionOperationExecutor
to manage a rename
operation. Performs a rename operation in performOperation()
, a
negating rename in rollback()
, and nothing in commit()
.
Constructor Summary | |
---|---|
RenameOperationExecutor(LdapOperations ldapOperations,
Name originalDn,
Name newDn)
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 RenameOperationExecutor(LdapOperations ldapOperations, Name originalDn, Name newDn)
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 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 |