|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.adf.model.adapter.AbstractImpl
oracle.adf.model.adapter.bean.UpdatableBeanDataControl
oracle.adf.model.adapter.bean.BeanFilterableDataControl
oracle.adf.model.adapter.bean.JavaBeanDataControl
oracle.adf.model.adapter.bean.BeanDataControl
public class BeanDataControl
Field Summary |
---|
Fields inherited from class oracle.adf.model.adapter.bean.UpdatableBeanDataControl |
---|
_logger |
Fields inherited from class oracle.adf.model.adapter.AbstractImpl |
---|
METHOD_CREATE, METHOD_EXECUTE, mName, SORT_CRITERIA |
Constructor Summary | |
---|---|
BeanDataControl(BeanDefinition beanDefinition) Create bean data control provider |
Method Summary | |
---|---|
void |
beginRequest(java.util.HashMap requestCtx) Implemented per the ManagedDataControl contract. |
java.io.Serializable |
createSnapshot() Creates a snapshot of the state of the DataControl. |
void |
endRequest(java.util.HashMap requestCtx) Implemented per the ManagedDataControl contract. |
java.lang.Object |
getDataControlHandler() Returns DataControlHandler |
java.lang.Object |
getDataProvider() Returns the data provider for this data control |
java.lang.String |
getName() Returns name to identify this datacontrol inside a BindingContext. |
protected void |
initDCProperties(java.lang.Object instance) Initialize Data Control properties |
boolean |
invokeOperation(java.util.Map bindingContext, OperationBinding action) All OperationBindings should first delegate to the DataControl associated with the binding to perform the action. |
void |
release() Releases the DataControl. |
void |
release(int flags) Handles releasing transactional resources when the data control is release from the binding container. |
void |
removeSnapshot(java.io.Serializable handle) Removes the snapshot associated with the snapshot handle. |
boolean |
resetState() Resets the state of the BeanDataControl 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. |
void |
restoreSnapshot(java.io.Serializable handle) Restore the state of the DataControl with the snapshot state that is referenced by the handle. |
void |
setDataControlHandler(java.lang.Object dcHandler) set DataControlHandler |
Methods inherited from class oracle.adf.model.adapter.bean.JavaBeanDataControl |
---|
commitTransaction, findAccessorDefinition, findAccessorPropertyName, getDefinition, isTransactionDirty, rollbackTransaction |
Methods inherited from class oracle.adf.model.adapter.bean.BeanFilterableDataControl |
---|
invokeAccessor, invokeOperation |
Methods inherited from class oracle.adf.model.adapter.bean.UpdatableBeanDataControl |
---|
createRowData, getAddMethodName, getDCHandler, getRemoveMethodName, registerDataProvider, removeRowData, resetAccessors, setAttributeValue, validate |
Methods inherited from class oracle.adf.model.adapter.AbstractImpl |
---|
addParameter, createAndAddNewRow, createEmptyDataSet, getAdapterContext, getDefinition, getParameterNames, getParameterValue, getSortCriteria, getStructureDef, getStructureDef, processResult, removeCurrentRow, setDefinition, setName, setParameterValue, setStructureDef, shouldReexecuteOperation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BeanDataControl(BeanDefinition beanDefinition)
beanDefinition
-Method Detail |
---|
public java.lang.Object getDataControlHandler()
public void setDataControlHandler(java.lang.Object dcHandler)
protected void initDCProperties(java.lang.Object instance)
initDCProperties
in class JavaBeanDataControl
instance
-public java.lang.String getName()
getName
in interface DataControl
getName
in class UpdatableBeanDataControl
public void release()
This should close all open DataControl resources.
release
in interface DataControl
release
in class UpdatableBeanDataControl
public java.lang.Object getDataProvider()
getDataProvider
in interface DataControl
getDataProvider
in class UpdatableBeanDataControl
public boolean invokeOperation(java.util.Map bindingContext, OperationBinding action)
invokeOperation
in interface DataControl
invokeOperation
in class UpdatableBeanDataControl
public void beginRequest(java.util.HashMap requestCtx)
beginRequest
in interface ManagedDataControl
requestCtx
- a HashMap representing request context.public void endRequest(java.util.HashMap requestCtx)
endRequest
in interface ManagedDataControl
requestCtx
- a HashMap representing request context.public boolean resetState()
resetState
in interface ManagedDataControl
public java.io.Serializable createSnapshot()
public void restoreSnapshot(java.io.Serializable handle)
handle
- Serializable a snaphsot handle that was created with createSnapshot()
.public void removeSnapshot(java.io.Serializable handle)
handle
- Serializable a snapshot handle that was created with createSnapshot()
.public void release(int flags)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.3.0) E17483-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |