public interface DataControl extends DataControl, java.util.Map
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
DataControl.DataChangeEventPolicy  | 
| Modifier and Type | Field and Description | 
|---|---|
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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
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. | 
invokeOperation, releasestatic 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
java.lang.String getName()
getName in interface DataControlvoid 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