de.uplanet.util.transaction
Interface ITwoPhaseIOTransaction

All Superinterfaces:
ITwoPhaseTransaction
All Known Implementing Classes:
DirectDirectoryDeleteTransaction, DirectDirectoryTransaction, DirectFileCopyTransaction, DirectFileDeleteTransaction, DirectFileMoveTransaction, IndirectDeleteDirectoryTransaction, IndirectDeleteFileTransaction, IndirectDirectoryCreateTransaction, IndirectDirectoryTransaction, IndirectFileCopyTransaction, IndirectFileCreateFileTransaction, IndirectFileMoveTransaction, IxFileUploadTransaction

public interface ITwoPhaseIOTransaction
extends ITwoPhaseTransaction

Version:
$Revision: 76896 $

Method Summary
 java.io.File getBackup()
           
 boolean hasBackup()
           
 
Methods inherited from interface de.uplanet.util.transaction.ITwoPhaseTransaction
commit, getLastError, requestCommit, rollback
 

Method Detail

hasBackup

boolean hasBackup()
Returns:
true if the transaction has left a backup file, or false otherwise (e.g. if the destination file did not exist before the transaction).

getBackup

java.io.File getBackup()
Returns:
The backup that was left by the transaction, or null if none was created (e.g. if the destination file did not exist before the transaction).


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.