|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.intarsys.tools.transaction.Transaction
public abstract class Transaction
A simple transaction implementation.
"Transactional" tasks are delegated to the IResource instances
managed by the transaction.
| Method Summary | |
|---|---|
void |
commit()
Commit all changes that belong to this transaction. |
void |
commitResume()
Commit all changes that belong to this transaction. |
void |
delist(IResource resource)
|
void |
enlist(IResource resource)
|
String |
getId()
|
void |
rollback()
Rollback all changes that belong to this transaction. |
void |
rollbackResume()
Rollback all changes that belong to this transaction. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface de.intarsys.tools.transaction.ITransaction |
|---|
getParent |
| Method Detail |
|---|
public void commit()
throws TransactionException
ITransaction
commit in interface ITransactionTransactionException
public void commitResume()
throws TransactionException
ITransaction
commitResume in interface ITransactionTransactionException
public void delist(IResource resource)
throws TransactionException
TransactionException
public void enlist(IResource resource)
throws TransactionException
TransactionExceptionpublic String getId()
public void rollback()
throws TransactionException
ITransaction
rollback in interface ITransactionTransactionException
public void rollbackResume()
throws TransactionException
ITransaction
rollbackResume in interface ITransactionTransactionException
|
intarsys runtime library | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||