| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.metamatrix.console.ui.views.properties.FakeUserTransaction
public class FakeUserTransaction
| Constructor Summary | |
|---|---|
| FakeUserTransaction() | |
| Method Summary | |
|---|---|
|  void | begin()Create a new transaction and associate it with this object. | 
|  void | commit()Complete the transaction associated with this object. | 
|  java.lang.Object | getSource()Return the (optional) reference to the object that is considered the source of the transaction represented by this object. | 
|  int | getStatus()Obtain the status of the transaction represented by this object. | 
|  void | rollback()Roll back the transaction associated with this object. | 
|  void | setRollbackOnly()Modify the transaction associated with this object such that the only possible outcome of the transaction is to roll back the transaction. | 
|  void | setTransactionTimeout(int p0)Modify the value of the timeout value that is associated with the transactions represented by this object. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FakeUserTransaction()
| Method Detail | 
|---|
public void begin()
           throws TransactionException
UserTransaction
begin in interface UserTransactionTransactionNotSupportedException - if the current thread is already
 associated with a transaction and the manager does not support
 nested system transactions.
TransactionException
public void commit()
            throws TransactionException
UserTransaction
commit in interface UserTransactionTransactionException
public java.lang.Object getSource()
                           throws TransactionException
UserTransaction
getSource in interface UserTransactionTransactionException
public int getStatus()
              throws TransactionException
UserTransaction
getStatus in interface UserTransactionTransactionException
public void rollback()
              throws TransactionException
UserTransaction
rollback in interface UserTransactionTransactionException
public void setRollbackOnly()
                     throws TransactionException
UserTransaction
setRollbackOnly in interface UserTransactionTransactionException
public void setTransactionTimeout(int p0)
                           throws TransactionException
UserTransaction
setTransactionTimeout in interface UserTransactionp0 - The value of the timeout in seconds. If the value is
 zero, the transaction service restores the default value.
TransactionException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||