Package de.uplanet.server.transaction
Interface ITransactionResource
@Scriptable
public interface ITransactionResource
-
Method Details
-
getCommitPriority
int getCommitPriority()The commit and rollback priority order. A transaction resource with a higher value will committed/rolled back first.- Returns:
- The commit/rollback priority order.
-
requestCommit
- Throws:
Exception
-
commit
Two calls of the commit must not do the same. (Clear transactions operations)- Throws:
Exception
-
rollback
Two calls of the rollback must not do the same. (Clear transactions operations)- Throws:
Exception
-
getManagedObject
Object getManagedObject() -
getLastError
Exception getLastError() -
cancelTransaction
Resets the transaction.After that call commit and rollback should do nothing.
Only relevant on two phase commits
.- Throws:
Exception
-