|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| 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. |
void |
commitTransaction()Commits the transaction for this data control. |
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. |
boolean |
isTransactionDirty()Indicates whether the UnitOfWork has any changes. |
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 |
rollbackTransaction()Rollsback the transaction for this data control. |
void |
setDataControlHandler(java.lang.Object dcHandler)set DataControlHandler |
| Methods inherited from class oracle.adf.model.adapter.bean.JavaBeanDataControl |
|---|
getDefinition |
| Methods inherited from class oracle.adf.model.adapter.bean.BeanFilterableDataControl |
|---|
invokeAccessor, invokeOperation |
| Methods inherited from class oracle.adf.model.adapter.bean.UpdatableBeanDataControl |
|---|
createRowData, getDCHandler, 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, 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 BeanFilterableDataControlinstance -public java.lang.String getName()
getName in interface DataControlgetName in class UpdatableBeanDataControlpublic void release()
This should close all open DataControl resources.
release in interface DataControlrelease in class UpdatableBeanDataControlpublic java.lang.Object getDataProvider()
getDataProvider in interface DataControlgetDataProvider in class UpdatableBeanDataControl
public boolean invokeOperation(java.util.Map bindingContext,
OperationBinding action)
invokeOperation in interface DataControlinvokeOperation in class UpdatableBeanDataControlpublic void beginRequest(java.util.HashMap requestCtx)
beginRequest in interface ManagedDataControlrequestCtx - a HashMap representing request context.public void endRequest(java.util.HashMap requestCtx)
endRequest in interface ManagedDataControlrequestCtx - a HashMap representing request context.public boolean resetState()
resetState in interface ManagedDataControlpublic 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 boolean isTransactionDirty()
isTransactionDirty in interface TransactionalDataControlpublic void rollbackTransaction()
rollbackTransaction in interface TransactionalDataControlDCDataControl.rollbackTransaction()public void commitTransaction()
commitTransaction in interface TransactionalDataControlDCDataControl.commitTransaction()public void release(int flags)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.5.0) E10653-06 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||