|
Business Components 9.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.util.AbstractMap
oracle.jbo.common.JboAbstractMap
oracle.adf.model.binding.DCDataControl
oracle.adf.model.generic.DCGenericDataControl
oracle.adf.model.generic.toplink.ToplinkDataControl
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary | |
static java.lang.String |
QUERY_SPEL_IDENTIFIER
|
static java.lang.String |
READ_ALL_QUERY_SPELL_IDENTIFIER
|
| Fields inherited from class oracle.adf.model.generic.DCGenericDataControl |
DC_ROOT_ACC_NAME, mDef, mRSIs, mStructureDefs |
| Fields inherited from class oracle.adf.model.binding.DCDataControl |
ABSTRACT, JCLIENT, mBindingContainerList, mDataProvider, mErrorHandler, mErrorHandlerActive, mErrorHandlerThrow, mIsRoot, mLocaleCtx, mName, mParent, mRootApplication, mStatusBarList, mTxnListeners, mUserData, OPER_CTRL_BINDING_VALIDATION, OPER_DATA_ROW_CREATE, OPER_DATA_ROW_REMOVE, OPER_DATA_ROW_UPDATE, OPER_EXECUTE, OPER_FIND_MODE, OPER_SORT_COLLECTION, PNAME_Type, REL_ALL_REFS, REL_DATA_REFS, REL_VIEW_REFS, REL_WEAK_DATA_REFS |
| Constructor Summary | |
ToplinkDataControl(java.lang.String name,
java.util.Map params,
java.lang.String beanClassName,
boolean root)
|
|
| Method Summary | |
void |
commitTransaction()
This method handles committing client changes in the TopLink UnitOfWork, creating a new UnitOfWork for the next transaction, restoring all RowSetIterators, and delegating to DCGenericDataControl to handle any bean level commit responsibilities. |
java.lang.Object |
createRowData(DCRowContext ctx)
Create a new row for the iterator associated with the given iterator-binding at the given index, registers it with the TopLink UnitOfWork, and return the new row's provider object. |
ClientSession |
getClientSession()
Returns the active TopLink ClientSession for this ToplinkDataControl instance. |
Server |
getServerSession()
Returns the active parent TopLink ServerSession from which the ClientSession was created. |
UnitOfWork |
getUnitOfWork()
Returns the current TopLink UnitOfWork associated with this transaction. |
java.lang.Object |
invokeMethod(DCInvokeMethodDef methodInfo,
java.util.ArrayList params)
Handles method and TopLink named query execution as TopLink named queries are expressed as method bindings. |
boolean |
isOperationSupported(DCIteratorBinding iterBinding,
byte oper)
Returns true for create, remove operations. |
java.lang.Object |
registerDataProvider(DCRowContext ctx)
Registers the client object contained in the Row with UnitOfWork and returns the working copy (clone). |
void |
release(int flags)
Overridden from DCDataControl to handle cleanup of TopLink related resources in the event of a data release. |
boolean |
removeRowData(DCRowContext ctx)
Return true if the row at the given index is removed from the the iterator associated with the given iterator-binding. |
void |
rollbackTransaction()
This method handles rolling back client changes in the TopLink UnitOfWork, creating a new UnitOfWork for the next transaction, restoring all RowSetIterators, and delegating to DCGenericDataControl to handle any bean level rollbact responsibilities. |
| Methods inherited from class oracle.jbo.common.JboAbstractMap |
entrySet, equals |
| Methods inherited from class java.util.AbstractMap |
clear, clone, containsKey, containsValue, isEmpty, keySet, put, 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, isEmpty, keySet, put, putAll, remove, size, values |
| Field Detail |
public static final java.lang.String QUERY_SPEL_IDENTIFIER
public static final java.lang.String READ_ALL_QUERY_SPELL_IDENTIFIER
| Constructor Detail |
public ToplinkDataControl(java.lang.String name,
java.util.Map params,
java.lang.String beanClassName,
boolean root)
| Method Detail |
public java.lang.Object registerDataProvider(DCRowContext ctx)
registerDataProvider in class DCDataControlctx -
public void commitTransaction()
commitTransaction in class DCGenericDataControlpublic void rollbackTransaction()
rollbackTransaction in class DCGenericDataControl
public boolean isOperationSupported(DCIteratorBinding iterBinding,
byte oper)
isOperationSupported in class DCGenericDataControlpublic java.lang.Object createRowData(DCRowContext ctx)
createRowData in class DCGenericDataControlpublic boolean removeRowData(DCRowContext ctx)
removeRowData in class DCGenericDataControlpublic ClientSession getClientSession()
public UnitOfWork getUnitOfWork()
public Server getServerSession()
public java.lang.Object invokeMethod(DCInvokeMethodDef methodInfo,
java.util.ArrayList params)
invokeMethod in class DCDataControlmethodInfo - - description of the method and param valuesparams - - optional external parameter values that take precedence over
those enumerated in the methodInfo.
public void release(int flags)
release in class DCDataControlflags - - Release type flags.
|
Business Components 9.0.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Copyright © 1997, 2004, Oracle. All rights reserved.