|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.AbstractMap oracle.jbo.common.JboAbstractMap oracle.adf.model.binding.DCDataControl oracle.adf.model.bc4j.DCJboDataControl oracle.adf.model.bean.DCBeanDataControl oracle.adf.model.adapter.AdapterDCService
public class AdapterDCService
Provides services to the adapter created data controls for handling collection and bean based data.
This class is created by the DataControlFactoryImpl
to create
a service for the data controls that the ADF stacks uses.
Created: Thu Nov 04 12:07:04 2004
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.adf.model.bean.DCBeanDataControl |
---|
DC_ROOT_ACC_NAME, mDef, mRSIs, VD_KIND_CRITERIA |
Fields inherited from class oracle.adf.model.bc4j.DCJboDataControl |
---|
EXC_MODE_DEFAULT, EXC_MODE_DEFERRED, EXC_MODE_IMMEDIATE, INTERNALDC, PROP_VCIVAL_SUBST_ATTRDEF, VAL_MODE_ALWAYS, VAL_MODE_NEVER, VAL_MODE_REMOTE, VAL_MODE_UNINIT |
Fields inherited from class oracle.jbo.common.JboAbstractMap |
---|
MAP_NULL_VALUE |
Fields inherited from interface oracle.adf.model.DataControl |
---|
DATACHANGE_EVENT_POLLINGMODE |
Constructor Summary | |
---|---|
AdapterDCService(java.lang.String name,
java.lang.String def,
java.lang.Object dcInstance,
AbstractDefinition dcDef)
Creates a new AdapterDCService instance. |
Method Summary | |
---|---|
protected void |
applySortCriteria(DCIteratorBinding iter,
SortCriteria[] sortby)
Sets the sort critiera that will be applied next time when the source for this iteratorBinding is executed. |
protected java.lang.Object |
fetchProviderProperty(java.lang.String propName)
Fetches the data from the data control. |
boolean |
hasOperationParamsChanged(OperationInfo operationInfo)
Check if the operation params has changed during an iterator execution. |
boolean |
invokeOperation(java.util.Map bindingContext,
OperationBinding action)
Invokes the action associated with this data control. |
Methods inherited from class oracle.jbo.common.JboAbstractMap |
---|
entrySet, equals, hashCode, 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, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Constructor Detail |
---|
public AdapterDCService(java.lang.String name, java.lang.String def, java.lang.Object dcInstance, AbstractDefinition dcDef)
AdapterDCService
instance.
name
- Name of the data control.def
- The location of the structure definition metadata.dcInstance
- the data control instance.dcDef
- the data control definition that has created this service.Method Detail |
---|
protected java.lang.Object fetchProviderProperty(java.lang.String propName)
fetchProviderProperty
in class DCBeanDataControl
public boolean invokeOperation(java.util.Map bindingContext, OperationBinding action)
invokeOperation
in interface DataControl
invokeOperation
in class DCBeanDataControl
bindingContext
- A binding context that provide access to all
binding related objects.action
- The action to be performed by the data control.
For the Webservice data control, the action to
be invoked is the webservice operation.
true
if this datacontrol has handled
this action, false if the action
should be interpreted in the bindings framework or
in the caller.public boolean hasOperationParamsChanged(OperationInfo operationInfo)
hasOperationParamsChanged
in class DCDataControl
operationInfo
- The OperationInfo
whose parameters
need to evaluated to decide this params changed
condition.
true
if the operation parameters have changed.
Otherwise calls the impl to decide. If the impl is not available, i.e.
the data control is not an AbstractImpl, it returns false.protected void applySortCriteria(DCIteratorBinding iter, SortCriteria[] sortby)
applySortCriteria
in class DCBeanDataControl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 2 (11.1.2.0.0) E17483-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |