Package de.uplanet.util.transaction
Interface ITwoPhaseIOTransaction
- All Superinterfaces:
ITwoPhaseTransaction
- All Known Implementing Classes:
AbstractTwoPhaseIOTransaction
,DirectDirectoryCreateTransaction
,DirectDirectoryDeleteTransaction
,DirectDirectoryTransaction
,DirectFileCopyTransaction
,DirectFileDeleteTransaction
,DirectFileMoveTransaction
,IndirectDeleteDirectoryTransaction
,IndirectDeleteFileTransaction
,IndirectDirectoryCreateTransaction
,IndirectDirectoryTransaction
,IndirectFileCopyTransaction
,IndirectFileCreateFileTransaction
,IndirectFileMoveTransaction
,IxFileUploadTransaction
-
Method Summary
Methods inherited from interface de.uplanet.util.transaction.ITwoPhaseTransaction
commit, getLastError, requestCommit, rollback
-
Method Details
-
hasBackup
boolean hasBackup()- Returns:
true
if the transaction has left a backup file, orfalse
otherwise (e.g. if the destination file did not exist before the transaction).
-
getBackup
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).
-