public class AdapterDCService extends DCBeanDataControl
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
DCBeanDataControl.VOAsDataFilterjava.util.AbstractMap.SimpleEntry<K,V>, java.util.AbstractMap.SimpleImmutableEntry<K,V>DataControl.DataChangeEventPolicyDC_ROOT_ACC_NAME, mDef, mRSIs, SUPPORTS_ATTR_HINTS_OVERRIDE, VD_KIND_CRITERIAEXC_MODE_DEFAULT, EXC_MODE_DEFERRED, EXC_MODE_IMMEDIATE, INTERNALDC, PROP_VCIVAL_SUBST_ATTRDEF, RELEASE_LEVEL_MANAGED, RELEASE_LEVEL_RELOADABLE, RELEASE_LEVEL_RESERVED, RELEASE_LEVEL_UNMANAGED, VAL_MODE_ALWAYS, VAL_MODE_NEVER, VAL_MODE_REMOTE, VAL_MODE_UNINITABORT_ON_ATTR_ERROR_PROP, 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, VCCRITERIAOPERATORMAP_NULL_VALUEDATACHANGE_EVENT_POLLINGMODE| Constructor and Description |
|---|
AdapterDCService(java.lang.String name,
java.lang.String def,
java.lang.Object dcInstance,
AbstractDefinition dcDef)
Creates a new
AdapterDCService instance. |
| Modifier and Type | Method and Description |
|---|---|
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.
|
protected boolean |
initHintsOverride() |
protected void |
internalInitSession(BindingContext ctx,
java.util.Map appParams,
java.util.Map parameters,
java.lang.String transactionId,
DCJboDataControl transactionDC) |
boolean |
invokeOperation(java.util.Map bindingContext,
OperationBinding action)
Invokes the action associated with this data control.
|
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, getViewDefName, hasKeyAttributes, implementsCustomSortForVO, initDCProperties, initializeBindingContainer, initializeRSIs, internalGetBeanDataControl, internalGetDataFilterRowSet, invokeAccessor, invokeAccessor, invokeMethod, isAttributeSortable, isDataChangeManager, isDCEPaused, isHintsOverrideFromPDefAllowed, isImplementRowMatch, isOperationSupported, isTransactionDirty, putViewDefName, release, removeDataChangeListener, removeDataChangeListener, removeRowData, removeSnapshot, resetState, restoreRSIs, restoreSavepoint, restoreSnapshot, rollbackTransaction, setAttributeInRow, setCurrentRowWithKey, setCurrentRowWithKey, setCurrentRowWithKeyValue, setDataProvider, setImplementRowMatch, setPinned, setReleaseAdaptedDCs, startEvents, stopEvents, validatebeforeReportException, 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, internalGetApplicationModule, internalSetTransactionStateChanged, isBoundRowIteratorEvent, isClientTier, isPinnedForDCE, modifyTransactionStateForAttributeSet, prepareSession, processChangeNotifications, removeRowData, resetAttributeExceptionInRow, setApplicationModule, setBundledExceptionMode, setClientApp, setConnectionInfo, setLocaleContext, setPackageName, setPartialUpdate, setReleaseLevel, setSessionCookie, setValidationInBinding, sync, syncIfNeeded, syncNeeded_internal_dbg_debug_data, activateConsistencyCheckForRow, addBindingContainer, addBindingContainer, addBindingContainer, addBindingContainerRef, addBindingWithExc, addOrCreateBindingContainer, addStatusBarInterface, addTransactionStateListener, afterReportException, cacheMethodResult, callCommitTransaction, cleanup, createAccessorRowSetIterator, createBindingContainer, createBindingContainerInstance, createRowSetIteratorImpl, deactivateConsistencyCheckForRow, discardIfDefinitionChanged, displayStatus, displayStatus, doneCommit, doneRollback, findBindingContainer, findOrCreateRowSetIteratorImpl, focusGained, get, getAppDefName, getBindingContext, getCurrentErrorHandler, getCurrentRowInternal, getDataControlFrameName, getDef, getErrorHandlerActive, getMethodResults, getMethodResultUseCount, getName, getParent, getRootDataControl, getSecurityContext, getSessionContext, getSessionContextManager, getSyncLock, getUnresolvedBindingContainer, getUserData, hasBindingsWithExc, hasDefinitionChanged, hasPermission, hasPermission, hasPermission, initApplicationModule, initializeContainerFromDef, initializeFromMetadata, initIteratorDataControl, internalCacheMethodResults, internalGetCurrentRow, internalGetDataControlFrame, internalGetIterBindingViewObject, internalPut, invalidateMethodResult, invokeMethod, isJClientApp, isReleased, 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, setMethodInfo, setName, setParent, setSessionContext, setTransactionModified, toString, transactionStateChangedentrySet, equals, hashCode, put, setThrowIfPropertyNotFoundOnGetclear, clone, containsKey, containsValue, isEmpty, keySet, putAll, remove, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitdoneCommit, doneRollbackpublic AdapterDCService(java.lang.String name,
java.lang.String def,
java.lang.Object dcInstance,
AbstractDefinition dcDef)
AdapterDCService instance.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.protected boolean initHintsOverride()
initHintsOverride in class DCBeanDataControlprotected java.lang.Object fetchProviderProperty(java.lang.String propName)
fetchProviderProperty in class DCBeanDataControlpublic boolean invokeOperation(java.util.Map bindingContext,
OperationBinding action)
invokeOperation in interface DataControlinvokeOperation in class DCBeanDataControlbindingContext - 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.true if this datacontrol has handled
this action, false if the action
should be interpreted in the bindings framework or
in the caller.public boolean hasOperationParamsChanged(OperationInfo operationInfo)
hasOperationParamsChanged in class DCDataControloperationInfo - The OperationInfo whose parameters
need to evaluated to decide this params changed
condition.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.protected void applySortCriteria(DCIteratorBinding iter, SortCriteria[] sortby)
applySortCriteria in class DCBeanDataControlprotected void internalInitSession(BindingContext ctx, java.util.Map appParams, java.util.Map parameters, java.lang.String transactionId, DCJboDataControl transactionDC)
internalInitSession in class DCBeanDataControl