|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DataControl
DataControl is a collection of DataControls accessed by their key This is only for internal purposes and implementing just this interface will not work in ADF 9.0.5.1. This interface exists for future api needs.
Nested Class Summary | |
---|---|
static class |
DataControl.DataChangeEventPolicy
|
Nested classes/interfaces inherited from interface java.util.Map |
---|
java.util.Map.Entry<K,V> |
Field Summary | |
---|---|
static java.lang.String |
DATACHANGE_EVENT_POLLINGMODE
|
static int |
REL_ALL_REFS
Release all references held in the data control. |
static int |
REL_DATA_REFS
Release only the data provider (Business Service) references |
static int |
REL_VIEW_REFS
Hold on to the data references and release the View references if held on the datacontrol. |
static int |
REL_WEAK_DATA_REFS
This is a weak data release. |
Method Summary | |
---|---|
java.lang.Object |
getDataProvider()
Return the Business Service Object that this datacontrol is associated with. |
java.lang.String |
getName()
Returns name to identify this datacontrol. |
void |
release(int flags)
Based on the value of the flags parameter, releases all references to the objects in the data provider layer Valid values for flags are: REL_ALL_REFS - if this data control
should release all references to both the view and model
objects. |
Methods inherited from interface oracle.binding.DataControl |
---|
invokeOperation, release |
Methods inherited from interface java.util.Map |
---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
Field Detail |
---|
static final int REL_ALL_REFS
static final int REL_DATA_REFS
static final int REL_VIEW_REFS
static final int REL_WEAK_DATA_REFS
static final java.lang.String DATACHANGE_EVENT_POLLINGMODE
Method Detail |
---|
java.lang.String getName()
getName
in interface DataControl
void release(int flags)
REL_ALL_REFS
- if this data control
should release all references to both the view and model
objects.
REL_DATA_REFS
- if this data control
should release all references to data provider objects. The
likely usage would be when say an Application Module is to
be checked into a pool and this data-control may be given
that or another checked out AM to work with subsequently.
REL_VIEW_REFS
- if this data control
should release all references to the UI/View layer objects.
java.lang.Object getDataProvider()
getDataProvider
in interface DataControl
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Model 11g Release 1 (11.1.1) E10653-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |