wt.sandbox
Class StandardSandboxService.DeletedCheckinImplicitUndoer

java.lang.Object
  extended bywt.sandbox.StandardSandboxService.DeletedCheckinImplicitUndoer
All Implemented Interfaces:
TransactionCommitListener, TransactionListener
Enclosing class:
StandardSandboxService

private class StandardSandboxService.DeletedCheckinImplicitUndoer
extends Object
implements TransactionCommitListener

Works in conjunction with processPreDeletionOfCheckedInCopies(). See comments there.


Constructor Summary
private StandardSandboxService.DeletedCheckinImplicitUndoer()
           
 
Method Summary
 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.
private  void finishTransactionInternal()
           
 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
 

Constructor Detail

StandardSandboxService.DeletedCheckinImplicitUndoer

private StandardSandboxService.DeletedCheckinImplicitUndoer()
Method Detail

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

finishTransactionInternal

private void finishTransactionInternal()
                                throws WTException,
                                       WTPropertyVetoException
Throws:
WTException
WTPropertyVetoException

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

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