public interface ActiveDataModel
| Modifier and Type | Interface and Description |
|---|---|
static class |
ActiveDataModel.ActiveDataPolicy
Supported active data policy
|
| Modifier and Type | Method and Description |
|---|---|
ActiveDataModel.ActiveDataPolicy |
getActiveDataPolicy()
Return the active data policy of the model
|
int |
getCurrentChangeCount()
Returns the current monotonically increasing change count for this ActiveDataModel
|
void |
startActiveData(java.util.Collection<java.lang.Object> rowKeys,
int startChangeCount,
oracle.adf.view.rich.event.ActiveDataListener listener)
Called by the DataUpdateManager to notify the ActiveDataModel to start delivering
change notifications for the collections of the containers identified by
the rowKeys
|
void |
stopActiveData(java.util.Collection<java.lang.Object> rowKeys,
oracle.adf.view.rich.event.ActiveDataListener listener)
Called by the DataUpdateManager to notify the ActiveDataModel to stop delivering
change notifications for the collections of the container identified by the
given rowKeys
|
ActiveDataModel.ActiveDataPolicy getActiveDataPolicy()
ActiveDataModel.ActiveDataPolicyvoid startActiveData(java.util.Collection<java.lang.Object> rowKeys,
int startChangeCount,
oracle.adf.view.rich.event.ActiveDataListener listener)
rowKeys - the container row keys of the collection, from which the
ActiveDataListener receives active events. Pass null for root collection.startChangeCount - Change count to start sending active data from.listener - ActiveDataListener for the ActiceDataModel to use when notifying
the DataUpdateManager of changesjava.lang.IllegalStateException - if ActiveDataPolicy is STATICjava.lang.IllegalArgumentException - if listener is null or
the startChangeCount is greater than the current change count.stopActiveData(java.util.Collection<java.lang.Object>, oracle.adf.view.rich.event.ActiveDataListener)void stopActiveData(java.util.Collection<java.lang.Object> rowKeys,
oracle.adf.view.rich.event.ActiveDataListener listener)
rowKeys - the container row keys of the collections, from which thelistener - the ActiveDataListener to be removed
ActiveDataListener receives active events. Pass null for root collection.java.lang.IllegalStateException - If called on an ActiveDataModel that was never
started by calling startActiveDatastartActiveData(java.util.Collection<java.lang.Object>, int, oracle.adf.view.rich.event.ActiveDataListener)int getCurrentChangeCount()