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 FilegetBackup()booleanhasBackup()-
Methods inherited from interface de.uplanet.util.transaction.ITwoPhaseTransaction
commit, getLastError, requestCommit, rollback
-
-
-
-
Method Detail
-
hasBackup
boolean hasBackup()
- Returns:
trueif the transaction has left a backup file, orfalseotherwise (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
nullif none was created (e.g. if the destination file did not exist before the transaction).
-
-