|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.express.olapi.transaction.ExpressTransactionProvider
An implementation of the TransactionProvider
interface for Oracle OLAP. An application must create an ExpressTransactionProvider
to communicate with Oracle OLAP. For a detailed description of the operations of this class, see oracle.olapi.transaction.TransactionProvider
.
Constructor Summary | |
ExpressTransactionProvider() Creates a new ExpressTransactionProvider . |
Method Summary | |
void |
addTransactionListener( l) Registers a TransactionListener with this ExpressTransactionProvider . |
Transaction |
beginSubtransaction() Begins a child Transaction of the current Transaction . |
void |
commitCurrentTransaction() Moves the state of a child Transaction into the parent Transaction . |
Transaction |
getCurrentTransaction() Gets the current Transaction . |
void |
prepareCurrentTransaction() Prepares the current Transaction for committing. |
void |
removeTransactionListener( l) Unregisters a TransactionListener from this ExpressTransactionProvider . |
void |
rollbackCurrentTransaction() Rolls back, or undoes, any OLAP API operations the application performed in the current Transaction . |
void |
setCurrentTransaction(Transaction transaction) Specifies a Transaction as the current Transaction . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ExpressTransactionProvider()
ExpressTransactionProvider
.Method Detail |
public final Transaction getCurrentTransaction()
Transaction
.Transaction
.public final void setCurrentTransaction(Transaction transaction)
Transaction
as the current Transaction
.transaction
- A Transaction
object to specify as the current Transaction
.public final void prepareCurrentTransaction() throws NotCommittableException, TransactionInactiveException
Transaction
for committing. An application must call prepareCurrentTransaction
before calling commitCurrentTransaction
.public final void commitCurrentTransaction() throws NotPreparedException, TransactionInactiveException
Transaction
into the parent Transaction
. Before calling commitCurrentTransaction
, an application must call prepareCurrentTransaction
.public final void rollbackCurrentTransaction() throws NotPreparedException, TransactionInactiveException
Transaction
. The TransactionProvider
discards the operations the application performed in the child Transaction
and makes the parent Transaction
the current Transaction
.public final Transaction beginSubtransaction() throws TransactionInactiveException
Transaction
of the current Transaction
. The child Transaction
becomes the current Transaction
.Transaction
object that represents the current Transaction
.public final void addTransactionListener( l)
TransactionListener
with this ExpressTransactionProvider
.l
- The TransactionListener
to add to this ExpressTransactionProvider
.public final void removeTransactionListener( l)
TransactionListener
from this ExpressTransactionProvider
.l
- The TransactionListener
to remove from the list of listeners for this ExpressTransactionProvider
.
|
Oracle® OLAP Java API Reference 10g Release 2 (10.2) B14348-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |