Package de.uplanet.util.transaction
Interface ITwoPhaseIOTransaction
-
- All Superinterfaces:
ITwoPhaseTransaction
- All Known Implementing Classes:
DirectDirectoryCreateTransaction
,DirectDirectoryDeleteTransaction
,DirectDirectoryTransaction
,DirectFileCopyTransaction
,DirectFileDeleteTransaction
,DirectFileMoveTransaction
,IndirectDeleteDirectoryTransaction
,IndirectDeleteFileTransaction
,IndirectDirectoryCreateTransaction
,IndirectDirectoryTransaction
,IndirectFileCopyTransaction
,IndirectFileCreateFileTransaction
,IndirectFileMoveTransaction
,IxFileUploadTransaction
public interface ITwoPhaseIOTransaction extends ITwoPhaseTransaction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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, 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).
-
-