|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.query.QueryFunctionality
com.esri.adf.web.aims.data.query.AIMSQueryFunctionality
public class AIMSQueryFunctionality
| Field Summary | |
|---|---|
protected AIMSMapResource |
aimsMapResource
|
protected java.util.HashMap<java.lang.String,WebLayerInfo> |
layerIds
|
protected java.util.ArrayList<WebLayerInfo> |
qlayers
|
static java.lang.String |
SHAPE_FIELD_NAME
|
| Fields inherited from class com.esri.adf.web.data.query.QueryFunctionality |
|---|
FUNCTIONALITY_NAME, handlers |
| Constructor Summary | |
|---|---|
AIMSQueryFunctionality()
|
|
| Method Summary | |
|---|---|
protected WebGeometry |
convertToWebGeometry(com.esri.aims.mtier.model.acetate.Shape geometry)
|
void |
destroyFunctionality()
The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. |
protected java.lang.String |
getLayerId(int layerIndex)
Returns the ArcIMS Layer id based on the specified layer index. |
AIMSMapFunctionality |
getMapFunctionality()
|
java.util.List<WebLayerInfo> |
getQueryLayers()
Returns the query-able layers as a List of WebLayerInfo objects. |
GISResource |
getResource()
Returns the GISResource associated with this functionality. |
java.lang.String |
getSpatialFilterRelation()
|
protected WebLayerInfo |
getWebLayerInfo(java.lang.String layerId)
|
void |
initFunctionality(GISResource resource)
The initialization chores for the functionality must be performed in this method. |
void |
setSpatialFilterRelation(java.lang.String spatialFilterRelation)
|
| Methods inherited from class com.esri.adf.web.data.query.QueryFunctionality |
|---|
addFindCriteriaHandler, find, getFindCriteriaHandlers, removeFindCriteriaHandler, setFindCriteriaHandlers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected AIMSMapResource aimsMapResource
protected java.util.ArrayList<WebLayerInfo> qlayers
protected java.util.HashMap<java.lang.String,WebLayerInfo> layerIds
public static final java.lang.String SHAPE_FIELD_NAME
| Constructor Detail |
|---|
public AIMSQueryFunctionality()
| Method Detail |
|---|
public void initFunctionality(GISResource resource)
GISFunctionality
The initialization chores for the functionality must be performed in this method. This method is called by the
resource when the functionality needs to be initialized. This happens either when the resource
itself is being initialized or if users add this functionality to the resource using the
GISResource.addFunctionality(String, GISFunctionality) method after the resource has already
been initialized.
Classes which implement this method should maintain the resource as a class instance variable and
return the same in the GISFunctionality.getResource() method. The functionality is ready for use only after this method has
been called.
initFunctionality in interface GISFunctionalityresource - the GISResource that this functionality supportsGISResource.init(WebContext)public void destroyFunctionality()
GISFunctionality
The cleanup chores (such as releasing held resources) for the functionality must be performed in this method. This
method is called by the GISResource when the resource itself is being destroyed.
The functionality is no longer usable after this method has been called.
destroyFunctionality in interface GISFunctionalityGISResource.destroy()public java.util.List<WebLayerInfo> getQueryLayers()
QueryFunctionality
Returns the query-able layers as a List of WebLayerInfo objects.
getQueryLayers in class QueryFunctionalityList of WebLayerInfo objectspublic GISResource getResource()
GISFunctionality
Returns the GISResource associated with this functionality.
The resource passed to GISFunctionality.initFunctionality(GISResource) is maintained as a class variable and is accessible
through this method.
getResource in interface GISFunctionalityGISResource associated with this functionalityprotected java.lang.String getLayerId(int layerIndex)
layerIndex - the layer index
protected WebLayerInfo getWebLayerInfo(java.lang.String layerId)
protected WebGeometry convertToWebGeometry(com.esri.aims.mtier.model.acetate.Shape geometry)
public java.lang.String getSpatialFilterRelation()
public void setSpatialFilterRelation(java.lang.String spatialFilterRelation)
public AIMSMapFunctionality getMapFunctionality()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||