|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.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.JavaBeanDataControl |
---|
_dcHandler, ACCMODE_RANGE_PAGING, ACCMODE_SCROLLABLE |
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 |
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. |
Methods inherited from class oracle.adf.model.adapter.bean.JavaBeanDataControl |
---|
getBeanClass, getDataControlHandler, getDefinition, setAccessMode, setBeanClass, setDataControlHandler, supportsCriteria, supportsPaging, supportsPaging, supportsRangePaging, supportsRangePaging, supportsSorting |
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, 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 |
---|
protected void initDCProperties(java.lang.Object instance)
initDCProperties
in class BeanFilterableDataControl
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 boolean isTransactionDirty()
isTransactionDirty
in interface TransactionalDataControl
public void rollbackTransaction()
rollbackTransaction
in interface TransactionalDataControl
DCDataControl.rollbackTransaction()
public void commitTransaction()
commitTransaction
in interface TransactionalDataControl
DCDataControl.commitTransaction()
public void release(int flags)
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.7.0) E10653-08 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |