|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.2.0) E17483-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
java.util.AbstractMap
oracle.jbo.common.JboAbstractMap
oracle.adf.model.binding.DCDataControl
oracle.adf.model.generic.DCGenericDataControl
oracle.adf.model.generic.toplink.TopLinkDataControl
Deprecated. - TopLink Data Controls created with 10.1.3 ADF, will no longer use these classes.
public class TopLinkDataControl
Purpose: Data control for use of TopLink within ADF.
Description: This data control abstracts the use of TopLink. It allows for a single TransactionBroker to be shared all TL data controls that share a common binding context. This assumes a single transaction and database session (isolated or *client/1server) per user context.
DataControlFactoryImpl
, DCGenericDataControl
, TransactionBroker
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
java.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface oracle.adf.model.DataControl |
---|
DataControl.DataChangeEventPolicy |
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary | |
---|---|
static java.lang.String |
DOT_STR Deprecated. |
static java.lang.String |
QUERY_SPEL_IDENTIFIER Deprecated. Identifies a method invocation as a TL query |
static java.lang.String |
READ_ALL_QUERY_SPEL_IDENTIFIER Deprecated. Identifies a method invocation as a TL "read all" query |
Fields inherited from class oracle.adf.model.generic.DCGenericDataControl |
---|
DC_ROOT_ACC_NAME, mDef, mRSIs, mStructureDefs |
Fields inherited from class oracle.jbo.common.JboAbstractMap |
---|
MAP_NULL_VALUE |
Fields inherited from interface oracle.adf.model.DataControl |
---|
DATACHANGE_EVENT_POLLINGMODE |
Constructor Summary | |
---|---|
TopLinkDataControl(java.lang.String name, java.util.Map params, java.lang.String beanClassName, boolean root, TransactionBroker transactionBroker) Deprecated. Creates a new instance of the TopLinkDataControl. |
Method Summary | |
---|---|
protected void |
commitPerformed() Deprecated. Notifies this data control that a commit has been performed and that the transactional state needs to be reset. |
void |
commitTransaction() Deprecated. Commits the transaction for this data control. |
java.lang.Object |
createRowData(DCRowContext ctx) Deprecated. Creates the object described by DCRowContext , adds it to the underlying provider Collection, registers it in the given transaction, and returns the newly created object. |
oracle.toplink.sessions.Session |
getAssociatedSession() Deprecated. ADVANCED: Returns the TopLink Session associated with this data control's transaction. |
oracle.toplink.sessions.UnitOfWork |
getAssociatedUnitOfWork() Deprecated. ADVANCED: Returns the TopLink UnitOfWork associated with this data control's transaction. |
protected TransactionBroker |
getTransactionBroker() Deprecated. Returns the TransactionBroker associated with this data control instance that manages all transactional related activities for this data control. |
protected void |
initialize(java.util.Map params, java.lang.String beanClassName, TransactionBroker transactionBroker) Deprecated. |
java.lang.Object |
invokeMethod(DCInvokeMethod methodInfo, OperationBinding action, java.util.Map params) Deprecated. Overridden from DCDataControl , this method serves as an entry point for executing native java methods as well as TopLink queries. |
boolean |
isOperationSupported(DCIteratorBinding iterBinding, byte oper) Deprecated. Describes what operations are supported by the TopLinkDataControl. |
void |
release(int flags) Deprecated. Overridden from DCDataControl to handle cleanup of TopLink related resources in the event of a data release. |
boolean |
removeRowData(DCRowContext ctx) Deprecated. Return true if the row at the given index is removed from the the RSI associated with the given iterator-binding. |
boolean |
resetState() Deprecated. Resets the state of the TopLinkDataControl to it's initial state upon entering the application: a new UnitOfWork is acquired and all RSIs associated with this DataControl are reset to their initial state (old query results are invalidated as well). |
protected void |
resetStatePerformed() Deprecated. Notifies this data control that a "resetState: has been performed and that the transactional and associated RSIs' state need to be reset. |
void |
resetTransaction() Deprecated. INTERNAL: Resets the transactional resources associated with this data control and all data controls that share the same transactional space. |
protected void |
resetTransactionalState() Deprecated. Resets the transactional state of this Data Control. |
protected void |
rollbackPerformed() Deprecated. Notifies this data control that a rollback has been performed and that the transactional state needs to be reset. |
void |
rollbackTransaction() Deprecated. Rollsback the transaction for this data control. |
protected void |
transactionalResourcesReset() Deprecated. Notifies this data control that the transactional resources have been reset and that a full re-execution of all associated RSIs must be performed. |
Methods inherited from class oracle.jbo.common.JboAbstractMap |
---|
entrySet, equals, hashCode, put, setThrowIfPropertyNotFoundOnGet |
Methods inherited from class java.util.AbstractMap |
---|
clear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
---|
public static final java.lang.String DOT_STR
public static final java.lang.String QUERY_SPEL_IDENTIFIER
public static final java.lang.String READ_ALL_QUERY_SPEL_IDENTIFIER
Constructor Detail |
---|
public TopLinkDataControl(java.lang.String name, java.util.Map params, java.lang.String beanClassName, boolean root, TransactionBroker transactionBroker)
name
- - data control name.params
- - application parameters.beanClassName
- - name of the object this data control represents.root
- - indicates whether this data control is the root in the structure.transactionBroker
- - transactional management facility.Method Detail |
---|
protected void initialize(java.util.Map params, java.lang.String beanClassName, TransactionBroker transactionBroker)
public boolean isOperationSupported(DCIteratorBinding iterBinding, byte oper)
isOperationSupported
in class DCGenericDataControl
DCDataControl.isOperationSupported(oracle.adf.model.binding.DCIteratorBinding, byte)
public java.lang.Object invokeMethod(DCInvokeMethod methodInfo, OperationBinding action, java.util.Map params)
DCDataControl
, this method serves as an entry point for executing native java methods as well as TopLink queries.invokeMethod
in class DCGenericDataControl
DCDataControl.isOperationSupported(DCIteratorBinding, byte)
public boolean removeRowData(DCRowContext ctx)
removeRowData
in class DCGenericDataControl
ctx
- the row context to be removed.true
if the operation was successful. false
otherwise.public java.lang.Object createRowData(DCRowContext ctx)
DCRowContext
, adds it to the underlying provider Collection, registers it in the given transaction, and returns the newly created object.createRowData
in class DCGenericDataControl
ctx
- - description of the Row to createDCDataControl.createRowData(oracle.adf.model.generic.DCRowContext)
public void release(int flags)
release
in class DCDataControl
flags
- - Release type flags.public void commitTransaction()
commitTransaction
in class DCGenericDataControl
DCDataControl.commitTransaction()
public void rollbackTransaction()
rollbackTransaction
in class DCGenericDataControl
DCDataControl.rollbackTransaction()()
public boolean resetState()
resetState
in interface ManagedDataControl
resetState
in class DCGenericDataControl
DCDataControl.resetState()
protected void commitPerformed()
protected void rollbackPerformed()
protected void resetStatePerformed()
protected void transactionalResourcesReset()
protected void resetTransactionalState()
public void resetTransaction()
protected TransactionBroker getTransactionBroker()
TransactionBroker
associated with this data control instance that manages all transactional related activities for this data control.public oracle.toplink.sessions.UnitOfWork getAssociatedUnitOfWork()
public oracle.toplink.sessions.Session getAssociatedSession()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.2.0) E17483-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |