wt.fc
Class StandardPersistenceManager.ReferentialIntegrityValidator
java.lang.Object
wt.fc.StandardPersistenceManager.ReferentialIntegrityValidator
- All Implemented Interfaces:
- TransactionCommitListener, TransactionListener
- Enclosing class:
- StandardPersistenceManager
- private static class StandardPersistenceManager.ReferentialIntegrityValidator
- extends Object
- implements TransactionCommitListener
Method Summary |
(package private) void |
addNonOwners(WTSet a_objects,
List a_nonOwnerRoleList)
|
void |
beforeCompletion()
Notify that the commit of the transaction is about to complete. |
void |
finishTransaction()
Notify that all of the transaction's work has been completed and any
remaining work should now be performed. |
void |
notifyCommit()
Notify that the commit of the transaction completed. |
void |
notifyRollback()
Notify that the rollback of the transaction completed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exception
private ReferentialIntegrityException exception
StandardPersistenceManager.ReferentialIntegrityValidator
private StandardPersistenceManager.ReferentialIntegrityValidator()
beforeCompletion
public void beforeCompletion()
throws WTException
- Description copied from interface:
TransactionCommitListener
- Notify that the commit of the transaction is about to complete. This
method should only validate the current work performed by the transaction.
No INSERT, UPDATE or DELETE operations should occur, either directly
or indirectly.
Supported API: true
- Specified by:
beforeCompletion
in interface TransactionCommitListener
- Throws:
WTException
finishTransaction
public void finishTransaction()
throws WTException
- Description copied from interface:
TransactionCommitListener
- Notify that all of the transaction's work has been completed and any
remaining work should now be performed. This work will be included
within the same transaction.
Supported API: true
- Specified by:
finishTransaction
in interface TransactionCommitListener
- Throws:
WTException
notifyCommit
public void notifyCommit()
- Description copied from interface:
TransactionListener
- Notify that the commit of the transaction completed.
Supported API: true
- Specified by:
notifyCommit
in interface TransactionListener
notifyRollback
public void notifyRollback()
- Description copied from interface:
TransactionListener
- Notify that the rollback of the transaction completed.
Supported API: true
- Specified by:
notifyRollback
in interface TransactionListener
addNonOwners
void addNonOwners(WTSet a_objects,
List a_nonOwnerRoleList)
throws WTException
- Throws:
WTException