|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
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.adfinternal.model.adapter.ejb.EjbDataControl
public class EjbDataControl
Data Control implementation class for EJB objects.
Field Summary |
---|
Fields inherited from class oracle.adf.model.adapter.bean.JavaBeanDataControl |
---|
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 |
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 |
getDataProvider() Returns the data provider for this data control. |
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) The data control 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 EJBDataControl 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. |
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, getName, 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 |
Methods inherited from interface oracle.binding.DataControl |
---|
getName |
Method Detail |
---|
protected void initDCProperties(java.lang.Object instance)
initDCProperties
in class BeanFilterableDataControl
instance
-public java.lang.Object getDataProvider()
UpdatableBeanDataControl
getDataProvider
in interface DataControl
getDataProvider
in class UpdatableBeanDataControl
public void release()
This should close all open DataControl resources.
release
in interface DataControl
release
in class UpdatableBeanDataControl
public void release(int flags)
DataControl
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()
.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1.9.0) E52932-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |