Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


oracle.adf.model.adapter
Class AdapterDCService

java.lang.Object
  extended by java.util.AbstractMap
      extended by oracle.jbo.common.JboAbstractMap
          extended by oracle.adf.model.binding.DCDataControl
              extended by oracle.adf.model.bc4j.DCJboDataControl
                  extended by oracle.adf.model.bean.DCBeanDataControl
                      extended by oracle.adf.model.adapter.AdapterDCService

All Implemented Interfaces:
java.util.EventListener, java.util.Map, DataControl, ManagedDataControl, TransactionStateListener

public class AdapterDCService
extends DCBeanDataControl

Provides services to the adapter created data controls for handling collection and bean based data.

This class is created by the DataControlFactoryImpl to create a service for the data controls that the ADF stacks uses. Created: Thu Nov 04 12:07:04 2004

Since:
10.1.3

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

 

Fields inherited from class oracle.adf.model.bean.DCBeanDataControl
DC_ROOT_ACC_NAME, mDef, mRSIs, VD_KIND_CRITERIA

 

Fields inherited from class oracle.adf.model.bc4j.DCJboDataControl
EXC_MODE_DEFAULT, EXC_MODE_DEFERRED, EXC_MODE_IMMEDIATE, INTERNALDC, PROP_VCIVAL_SUBST_ATTRDEF, VAL_MODE_ALWAYS, VAL_MODE_NEVER, VAL_MODE_REMOTE, VAL_MODE_UNINIT

 

Fields inherited from class oracle.adf.model.binding.DCDataControl
ABSTRACT, GET_ApplicationModule, GET_dataProvider, GET_DataProvider, GET_DCFrame, GET_MethodResults, GET_Name, JCLIENT, mBindingContainerList, mDataControlFrameName, mDataProvider, mErrorHandler, mErrorHandlerActive, mErrorHandlerThrow, METHOD_RESULT, mIsReleased, mIsReleasing, mIsRoot, mLocaleCtx, mLock, mName, mParent, mRootApplication, mStatusBarList, mTxnListeners, mUserData, OPER_CTRL_BINDING_VALIDATION, OPER_DATA_ROW_CREATE, OPER_DATA_ROW_CREATE_ONLY, 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, VCCRITERIA, VCCRITERIAITEM, VCCRITERIAITEMVALUE, VCCRITERIAOPERATOR

 

Fields inherited from class oracle.jbo.common.JboAbstractMap
MAP_NULL_VALUE

 

Fields inherited from interface oracle.adf.model.DataControl
DATACHANGE_EVENT_POLLINGMODE

 

Constructor Summary
AdapterDCService(java.lang.String name, java.lang.String def, java.lang.Object dcInstance, AbstractDefinition dcDef)
          Creates a new AdapterDCService instance.

 

Method Summary
protected  void applySortCriteria(DCIteratorBinding iter, SortCriteria[] sortby)
          Sets the sort critiera that will be applied next time when the source for this iteratorBinding is executed.
protected  java.lang.Object fetchProviderProperty(java.lang.String propName)
          Fetches the data from the data control.
 boolean hasOperationParamsChanged(OperationInfo operationInfo)
          Check if the operation params has changed during an iterator execution.
 boolean invokeOperation(java.util.Map bindingContext, OperationBinding action)
          Invokes the action associated with this data control.

 

Methods inherited from class oracle.adf.model.bean.DCBeanDataControl
adaptCriteria, addDataChangeListener, addDataChangeListener, applyViewCriteria, beginRequest, clearIteratorBinding, closeRowSetIterators, closeRowSetIteratorsAndStructures, commitTransaction, createAccessorRowSetIteratorForMasterRow, createDomainViewObject, createRowData, createRowSetIteratorImpl, createSavepoint, createSessionCookie, createSnapshot, createViewCriteria, createViewDef, endRequest, executeIteratorBinding, executeIteratorBindingIfNeeded, executeMethodIterators, fetchRowSetIterator, findApplicationPool, findOrCreateAccessorRowSetIterator, findOrCreateAccessorRowSetIterator, findOrCreateMethodRowSetIterator, findStructureDef, getAccessorDefs, getAccessorValue, getAdaptedDC, getAttributeDefs, getAttributeDefs, getDataProvider, getDefinition, getEventDefinitions, getIteratorStructureDefName, getLastEventId, getListBindingDef, getRowSetIterator, getSortCriteria, getSubstitutedDefNames, getViewCriteria, hasKeyAttributes, initDCProperties, initializeBindingContainer, initializeRSIs, internalGetBeanDataControl, invokeAccessor, invokeMethod, isAttributeSortable, isDataChangeManager, isImplementRowMatch, isOperationSupported, isTransactionDirty, release, removeDataChangeListener, removeDataChangeListener, removeRowData, removeSnapshot, resetState, restoreRSIs, restoreSavepoint, restoreSnapshot, rollbackTransaction, setAttributeInRow, setCurrentRowWithKey, setCurrentRowWithKey, setCurrentRowWithKeyValue, setDataProvider, setImplementRowMatch, setPinned, setReleaseAdaptedDCs, startEvents, stopEvents, validate

 

Methods inherited from class oracle.adf.model.bc4j.DCJboDataControl
beforeReportException, connect, createAccessorRowSetIterator, createAccessorRowSetIterator, createRootApplicationModule, createRowData, executeIteratorBindingWithParams, findCustomViewObject, findOrCreateDefaultViewCriteria, findOrCreateViewObjectForCriteria, findVariable, getAm, getAM, getApplicationModule, getContext, getDBConnectionProps, getDBConnectionURL, getDeferredEstimatedRowCount, getEstimatedRowCount, getKeyAttributeDefs, getListBindingName, getListBindingRSI, getLocaleContext, getPackageName, getPreferredListRSI, getReleaseLevel, getRootAMDefName, getValidationInBinding, initialize, initializeApplicationModule, initializeJboSession, initializeJboSession, initSessionCookie, internalGet, internalSetTransactionStateChanged, isBoundRowIteratorEvent, isClientTier, isPinnedForDCE, modifyTransactionStateForAttributeSet, prepareSession, processChangeNotifications, removeRowData, resetAttributeExceptionInRow, setApplicationModule, setBundledExceptionMode, setClientApp, setConnectionInfo, setLocaleContext, setPackageName, setPartialUpdate, setReleaseLevel, setSessionCookie, setValidationInBinding, sync, syncIfNeeded, syncNeeded

 

Methods inherited from class oracle.adf.model.binding.DCDataControl
_internal_dbg_debug_data, addBindingContainer, addBindingContainer, addBindingContainer, addBindingContainerRef, addBindingWithExc, addOrCreateBindingContainer, addStatusBarInterface, addTransactionStateListener, afterReportException, cacheMethodResult, callCommitTransaction, cleanup, createAccessorRowSetIterator, createBindingContainer, createBindingContainerInstance, createRowSetIteratorImpl, discardIfDefinitionChanged, displayStatus, displayStatus, doneCommit, doneRollback, findBindingContainer, findOrCreateRowSetIteratorImpl, focusGained, get, getAppDefName, getBindingContext, getCurrentErrorHandler, getDataControlFrameName, getDef, getErrorHandlerActive, getMethodResults, getMethodResultUseCount, getName, getParent, getRootDataControl, getSecurityContext, getSessionContext, getSessionContextManager, getSyncLock, getUnresolvedBindingContainer, getUserData, hasBindingsWithExc, hasDefinitionChanged, hasPermission, hasPermission, hasPermission, initializeContainerFromDef, initializeFromMetadata, initIteratorDataControl, internalCacheMethodResults, internalGetCurrentRow, internalGetDataControlFrame, internalGetIterBindingViewObject, internalPut, invalidateMethodResult, invokeMethod, isJClientApp, isReleasing, isRoot, isTransactionModified, markAccessorIterListenerForFKMerge, rebuildIteratorIfNeeded, registerDataProvider, release, releaseAll, releaseBindings, releaseData, releaseFromDCFrame, releaseMethodResults, removeBindingContainer, removeBindingWithExc, removeRowDataFromCollection, removeStatusBarInterface, removeTransactionStateListener, reportException, resolveAttributeDefs, setAppDefName, setAttributesInRow, setBindingContext, setDataControlFrameName, setDef, setErrorHandler, setErrorHandlerActive, setName, setParent, setSessionContext, setTransactionModified, toString, transactionStateChanged

 

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 oracle.jbo.TransactionStateListener
doneCommit, doneRollback

 

Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, hashCode, isEmpty, keySet, put, putAll, remove, size, values

 

Constructor Detail

AdapterDCService

public AdapterDCService(java.lang.String name,
                        java.lang.String def,
                        java.lang.Object dcInstance,
                        AbstractDefinition dcDef)
Creates a new AdapterDCService instance.
Parameters:
name - Name of the data control.
def - The location of the structure definition metadata.
dcInstance - the data control instance.
dcDef - the data control definition that has created this service.

Method Detail

fetchProviderProperty

protected java.lang.Object fetchProviderProperty(java.lang.String propName)
Fetches the data from the data control.
Overrides:
fetchProviderProperty in class DCBeanDataControl

invokeOperation

public boolean invokeOperation(java.util.Map bindingContext,
                               OperationBinding action)
Invokes the action associated with this data control. The WebService data control invokes the operation to return the data collection assoicated with the operation invocation.
Specified by:
invokeOperation in interface DataControl
Overrides:
invokeOperation in class DCBeanDataControl
Parameters:
bindingContext - A binding context that provide access to all binding related objects.
action - The action to be performed by the data control. For the Webservice data control, the action to be invoked is the webservice operation.
Returns:
true if this datacontrol has handled this action, false if the action should be interpreted in the bindings framework or in the caller.

hasOperationParamsChanged

public boolean hasOperationParamsChanged(OperationInfo operationInfo)
Check if the operation params has changed during an iterator execution. This method decides whether to call a method. If the parameter values are changed the method will be called again to get the result for the changed value. Otherwise it'll call the AbstractImpl (if implemented) to decide whether to call the method again.
Overrides:
hasOperationParamsChanged in class DCDataControl
Parameters:
operationInfo - The OperationInfo whose parameters need to evaluated to decide this params changed condition.
Returns:
true if the operation parameters have changed. Otherwise calls the impl to decide. If the impl is not available, i.e. the data control is not an AbstractImpl, it returns false.

applySortCriteria

protected void applySortCriteria(DCIteratorBinding iter,
                                 SortCriteria[] sortby)
Sets the sort critiera that will be applied next time when the source for this iteratorBinding is executed.
Overrides:
applySortCriteria in class DCBeanDataControl

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 2 (11.1.2.2.0)

E17483-03


Copyright © 1997, 2012, Oracle. All rights reserved.