public abstract class ActiveGeoMapDataModelDecorator extends GeoMapDataModel implements ActiveDataModel, oracle.adfinternal.view.faces.bi.activedata.DVTEncoderContext
replace with :
where activeModelDecorator is a managed bean subclassing the ActiveGeoMapDataModelDecorator
subclasses will look something like this:
{
public GeoMapDataModel getModel()
{
return _geoMapDataModel;
}
public ActiveDataModel getActiveDataModel()
{
return _activeDataModel;
}
}
public class MyDecorator extends ActiveGeoMapDataModelModelDecorator
getActiveDataModel()ActiveDataModel.ActiveDataPolicym_arrList, MATCHMODE_EXACT, MATCHMODE_RELAX| Constructor and Description |
|---|
ActiveGeoMapDataModelDecorator() |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateMinMaxValues() |
abstract ActiveDataModel |
getActiveDataModel()
returns the ActiveDataModel implementation
|
ActiveDataModel.ActiveDataPolicy |
getActiveDataPolicy()
always return
ActiveDataPolicy.ACTIVE |
int |
getAddressMatchMode() |
java.util.ArrayList |
getArrayList() |
int |
getCurrentChangeCount()
Returns the current monotonically increasing change count for this ActiveDataModel
This change count is used by the UI components to maintain read consistency between
model data fetches and the active data updates.
|
java.util.Map<java.lang.String,java.lang.Object> |
getEncoderEnvironment()
Returns a
Map of Objects to be used by the DVT Encoder |
java.lang.String |
getJoinColumns() |
double[] |
getMaxValues() |
double[] |
getMinValues() |
abstract GeoMapDataModel |
getModel()
This method returns the wrapped
GeoMapDataModel. |
int |
getRowCount() |
java.lang.Object |
getRowData() |
int |
getRowIndex() |
java.lang.Object |
getRowKey() |
java.lang.Object |
getWrappedData() |
boolean |
isRowAvailable() |
void |
setAddressMatchMode(int mode) |
void |
setJoinColumns(java.lang.String joinColumns) |
void |
setMaxValues(double[] maxValues) |
void |
setMinValues(double[] minValues) |
void |
setRowIndex(int i) |
void |
setRowKey(java.lang.Object object) |
void |
setWrappedData(java.lang.Object object) |
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
|
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
|
addRowKeyChangeListener, areRowsAvailable, areRowsAvailable, areRowsAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, areRowsLocallyAvailable, clearCachedRow, clearCachedRow, clearCachedRows, clearCachedRows, clearLocalCache, ensureRowsAvailable, fireRowKeyChange, getCachingStrategy, getEstimatedRowCount, getEstimatedRowCountConfidence, getRowData, getRowData, getRowLimit, getSortCriteria, isRowAvailable, isRowAvailable, isRowLocallyAvailable, isRowLocallyAvailable, isSortable, removeRowKeyChangeListener, setSortCriteriapublic abstract GeoMapDataModel getModel()
GeoMapDataModel.public abstract ActiveDataModel getActiveDataModel()
public ActiveDataModel.ActiveDataPolicy getActiveDataPolicy()
ActiveDataPolicy.ACTIVEgetActiveDataPolicy in interface ActiveDataModelActiveDataModel.ActiveDataPolicypublic void startActiveData(java.util.Collection<java.lang.Object> rowKeys,
int startChangeCount,
oracle.adf.view.rich.event.ActiveDataListener listener)
startActiveData in interface ActiveDataModelrowKeys - Not used for DVT GeoMap. Change notifications should be delivered
for all rows of the collection.startChangeCount - Change count to start sending active data from.listener - ActiveDataListener for the ActiveDataModel 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)public void stopActiveData(java.util.Collection<java.lang.Object> rowKeys,
oracle.adf.view.rich.event.ActiveDataListener listener)
stopActiveData in interface ActiveDataModelrowKeys - Not used for DVT GeoMap. Change notifications should be stopped
for all rows of the collectionlistener - the ActiveDataListener to be removedjava.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)public int getCurrentChangeCount()
getCurrentChangeCount in interface ActiveDataModelpublic final java.util.Map<java.lang.String,java.lang.Object> getEncoderEnvironment()
oracle.adfinternal.view.faces.bi.activedata.DVTEncoderContextMap of Objects to be used by the DVT EncodergetEncoderEnvironment in interface oracle.adfinternal.view.faces.bi.activedata.DVTEncoderContextMappublic java.lang.Object getRowKey()
getRowKey in interface org.apache.myfaces.trinidad.model.RowKeyIndexgetRowKey in class GeoMapDataModelpublic void setRowKey(java.lang.Object object)
setRowKey in interface org.apache.myfaces.trinidad.model.RowKeyIndexsetRowKey in class GeoMapDataModelpublic boolean isRowAvailable()
isRowAvailable in interface org.apache.myfaces.trinidad.model.RowKeyIndexisRowAvailable in class GeoMapDataModelpublic int getRowCount()
getRowCount in interface org.apache.myfaces.trinidad.model.RowKeyIndexgetRowCount in class GeoMapDataModelpublic java.lang.Object getRowData()
getRowData in interface org.apache.myfaces.trinidad.model.RowKeyIndexgetRowData in class GeoMapDataModelpublic int getRowIndex()
getRowIndex in interface org.apache.myfaces.trinidad.model.RowKeyIndexgetRowIndex in class GeoMapDataModelpublic void setRowIndex(int i)
setRowIndex in interface org.apache.myfaces.trinidad.model.RowKeyIndexsetRowIndex in class GeoMapDataModelpublic java.lang.Object getWrappedData()
getWrappedData in class GeoMapDataModelpublic java.util.ArrayList getArrayList()
getArrayList in class GeoMapDataModelpublic void setWrappedData(java.lang.Object object)
setWrappedData in class GeoMapDataModelpublic void setAddressMatchMode(int mode)
setAddressMatchMode in class GeoMapDataModelpublic int getAddressMatchMode()
getAddressMatchMode in class GeoMapDataModelpublic void setMaxValues(double[] maxValues)
setMaxValues in class GeoMapDataModelpublic double[] getMaxValues()
getMaxValues in class GeoMapDataModelpublic void setMinValues(double[] minValues)
setMinValues in class GeoMapDataModelpublic double[] getMinValues()
getMinValues in class GeoMapDataModelpublic java.lang.String getJoinColumns()
getJoinColumns in class GeoMapDataModelpublic void setJoinColumns(java.lang.String joinColumns)
setJoinColumns in class GeoMapDataModelpublic void calculateMinMaxValues()
calculateMinMaxValues in class GeoMapDataModel