Package de.uplanet.server.transaction
Schnittstelle ITransactionResource
@Scriptable
public interface ITransactionResource
-
Methodendetails
-
getCommitPriority
int getCommitPriority()The commit and rollback priority order. A transaction resource with a higher value will committed/rolled back first.- Gibt zurück:
- The commit/rollback priority order.
-
requestCommit
- Löst aus:
Exception
-
commit
Two calls of the commit must not do the same. (Clear transactions operations)- Löst aus:
Exception
-
rollback
Two calls of the rollback must not do the same. (Clear transactions operations)- Löst aus:
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
.- Löst aus:
Exception
-