|
Oracle® OLAP Java API Reference 10g Release 2 (10.2.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoracle.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.
getCurrentTransaction in interface TransactionProviderTransaction.public final void setCurrentTransaction(Transaction transaction)
Transaction as the current Transaction.
setCurrentTransaction in interface TransactionProvidertransaction - 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.
prepareCurrentTransaction in interface TransactionProviderNotCommittableException
TransactionInactiveException
public final void commitCurrentTransaction()
throws NotPreparedException,
TransactionInactiveException
Transaction into the
parent Transaction.
Before calling commitCurrentTransaction, an application must
call prepareCurrentTransaction.
commitCurrentTransaction in interface TransactionProviderNotPreparedException
TransactionInactiveException
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.
rollbackCurrentTransaction in interface TransactionProviderNotPreparedException
TransactionInactiveException
public final Transaction beginSubtransaction()
throws TransactionInactiveException
Transaction of the current Transaction.
The child Transaction becomes the current Transaction.
beginSubtransaction in interface TransactionProviderTransaction object that represents the current
Transaction.
TransactionInactiveExceptionpublic 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.0.4) B14348-04 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||