Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

oracle.adf.model.placeholder
Class DCPlaceholderDataControl

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.jbo.uicli.binding.JUApplication
                      extended by oracle.adf.model.placeholder.DCPlaceholderDataControl
All Implemented Interfaces:
java.util.EventListener, java.util.Map, DataControl, ManagedDataControl, TransactionStateListener

public class DCPlaceholderDataControl
extends JUApplication


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.jbo.uicli.binding.JUApplication
mJUErrorHandler
 
Fields inherited from class oracle.adf.model.bc4j.DCJboDataControl
EXC_MODE_DEFAULT, EXC_MODE_DEFERRED, EXC_MODE_IMMEDIATE, INTERNALDC, 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_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
protected DCPlaceholderDataControl()
           
 
Method Summary
 void beginRequest(java.util.HashMap map)
          Invoked in some contexts to signal the beginning of a model request.
 void commitTransaction()
          Overrides to let user know that commit is not allowed in Placeholder dc
protected  ApplicationPool findApplicationPool(java.lang.String poolName, java.lang.String configPackage, java.lang.String configSection, java.util.Properties poolProps)
           
protected  void initDCProperties(java.util.Map parameters)
           
protected  void initializeJboSession(java.lang.String configPackage, java.lang.String configName)
          Overrides so that it can be called from the class in the same package.
 boolean isOperationSupported(DCIteratorBinding iterBinding, byte oper)
          Overrides to return true, for updates in case of placeholder datacontrol
 void rollbackTransaction()
          Overrides to let user know that commit is not allowed in Placeholder dc
 
Methods inherited from class oracle.jbo.uicli.binding.JUApplication
addFormBinding, addFormBinding, addFormBinding, createFormBinding, findFormBinding, getErrorHandler, getRootApplication, removeFormBinding, reportException, setErrorHandler
 
Methods inherited from class oracle.adf.model.bc4j.DCJboDataControl
addDataChangeListener, applySortCriteria, applyViewCriteria, clearIteratorBinding, connect, createAccessorRowSetIterator, createAccessorRowSetIterator, createAccessorRowSetIteratorForMasterRow, createRootApplicationModule, createRowData, createRowSetIteratorImpl, createSavepoint, createSessionCookie, createSnapshot, createViewCriteria, endRequest, executeIteratorBinding, executeIteratorBindingIfNeeded, executeIteratorBindingWithParams, findCustomViewObject, findOrCreateDetailViewObjectForCriteria, findOrCreateMethodRowSetIterator, findOrCreateViewObjectForCriteria, findOrCreateViewObjectForCriteriaItem, findVariable, getAccessorValue, getAm, getApplicationModule, getAttributeDefs, getContext, getDataProvider, getDBConnectionProps, getDBConnectionURL, getDeferredEstimatedRowCount, getDefinition, getEstimatedRowCount, getKeyAttributeDefs, getLastEventId, getListBindingDef, getListBindingName, getListBindingRSI, getLocaleContext, getPackageName, getReleaseLevel, getRootAMDefName, getRowSetIterator, getSortCriteria, getValidationInBinding, getViewCriteria, hasKeyAttributes, initialize, initializeJboSession, initSessionCookie, internalGet, internalGetBeanDataControl, internalSetTransactionStateChanged, invokeMethod, isBoundRowIteratorEvent, isClientTier, isTransactionDirty, prepareSession, release, removeDataChangeListener, removeRowData, removeSnapshot, resetAttributeExceptionInRow, resetState, restoreSavepoint, restoreSnapshot, setAttributeInRow, setBundledExceptionMode, setClientApp, setConnectionInfo, setCurrentRowWithKey, setCurrentRowWithKey, setCurrentRowWithKeyValue, setDataProvider, setLocaleContext, setPackageName, setPartialUpdate, setPinned, setReleaseLevel, setSessionCookie, setValidationInBinding, startEvents, sync, syncIfNeeded, syncNeeded, validate
 
Methods inherited from class oracle.adf.model.binding.DCDataControl
addBindingContainer, addBindingContainer, addBindingContainer, addBindingContainerRef, addBindingWithExc, addDataChangeListener, addOrCreateBindingContainer, addStatusBarInterface, addTransactionStateListener, cacheMethodResult, callCommitTransaction, cleanup, createAccessorRowSetIterator, createBindingContainer, createBindingContainerInstance, createRowSetIteratorImpl, displayStatus, displayStatus, doneCommit, doneRollback, findBindingContainer, findOrCreateAccessorRowSetIterator, findOrCreateAccessorRowSetIterator, findOrCreateRowSetIteratorImpl, focusGained, get, getAdaptedDC, getAppDefName, getBindingContext, getCurrentErrorHandler, getDef, getErrorHandlerActive, getIteratorStructureDefName, getMethodResults, getMethodResultUseCount, getName, getParent, getRootDataControl, getSecurityContext, getSessionContext, getSessionContextManager, getSubstitutedDefNames, getSyncLock, getUnresolvedBindingContainer, getUserData, hasBindingsWithExc, hashCode, hasOperationParamsChanged, hasPermission, hasPermission, hasPermission, initializeBindingContainer, initializeContainerFromDef, initializeFromMetadata, internalCacheMethodResults, internalGetCurrentRow, internalPut, invalidateMethodResult, invokeMethod, invokeOperation, isAttributeSortable, isDataChangeManager, isJClientApp, isRoot, isTransactionModified, rebuildIteratorIfNeeded, registerDataProvider, release, releaseBindings, releaseData, releaseFromDCFrame, releaseMethodResults, removeBindingContainer, removeBindingWithExc, removeDataChangeListener, removeRowDataFromCollection, removeStatusBarInterface, removeTransactionStateListener, reportException, resolveAttributeDefs, setAppDefName, setAttributesInRow, setBindingContext, setDataControlFrameName, setDef, setErrorHandlerActive, setName, setParent, setSessionContext, setTransactionModified, stopEvents, toString, transactionStateChanged
 
Methods inherited from class oracle.jbo.common.JboAbstractMap
entrySet, equals, 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, isEmpty, keySet, put, putAll, remove, size, values
 

Constructor Detail

DCPlaceholderDataControl

protected DCPlaceholderDataControl()
Method Detail

initDCProperties

protected void initDCProperties(java.util.Map parameters)

beginRequest

public void beginRequest(java.util.HashMap map)
Description copied from class: DCDataControl
Invoked in some contexts to signal the beginning of a model request. For example, if the DataControl is referenced in a web application then this method will be invoked by the ADF framework before control is forwarded to the first Servlet defined by the request.

Subclassing datacontrols may extend this method to perform request level initialization of the DataControl.

This method is guaranteed to be called only once per browser request. Page forwards should not result in multiple invocations.

Specified by:
beginRequest in interface ManagedDataControl
Overrides:
beginRequest in class DCJboDataControl
Parameters:
map - a HashMap representing request context. Web applications which require request context may use the BindingContext.HTTP_REQUEST and BindingContext.HTTP_RESPONSE keys to acquire a reference from from the BindingContext.

findApplicationPool

protected ApplicationPool findApplicationPool(java.lang.String poolName,
                                              java.lang.String configPackage,
                                              java.lang.String configSection,
                                              java.util.Properties poolProps)
Overrides:
findApplicationPool in class DCJboDataControl

isOperationSupported

public boolean isOperationSupported(DCIteratorBinding iterBinding,
                                    byte oper)
Overrides to return true, for updates in case of placeholder datacontrol

Overrides:
isOperationSupported in class DCJboDataControl
Returns:
true for OPER_DATA_ROW_UPDATE

commitTransaction

public void commitTransaction()
Overrides to let user know that commit is not allowed in Placeholder dc

Overrides:
commitTransaction in class DCJboDataControl

rollbackTransaction

public void rollbackTransaction()
Overrides to let user know that commit is not allowed in Placeholder dc

Overrides:
rollbackTransaction in class DCJboDataControl

initializeJboSession

protected void initializeJboSession(java.lang.String configPackage,
                                    java.lang.String configName)
Overrides so that it can be called from the class in the same package.

Overrides:
initializeJboSession in class DCJboDataControl

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.0.0)

E10653-01

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