com.esri.adf.web.ags.data.image.query
Class AGSImageIdentifyCriteriaHandler

java.lang.Object
  extended by com.esri.adf.web.ags.data.image.query.AGSImageIdentifyCriteriaHandler
All Implemented Interfaces:
QueryCriteriaHandler, Serializable

public class AGSImageIdentifyCriteriaHandler
extends Object
implements QueryCriteriaHandler, Serializable

This class is the handler used by the AGSImageQueryFunctionality to enable the identify capability.

See Also:
Serialized Form

Field Summary
protected static String LOCATION
          Label for the Bing Maps map style "Road"
protected static String OBJECT_ID
          Label for the the map style title in the TOC
 
Constructor Summary
AGSImageIdentifyCriteriaHandler()
           
 
Method Summary
 List<QueryResult> handleCriteria(QueryCriteria criteria, List<? extends WebLayerInfo> layers, WebQuery query, QueryFunctionality queryFunc)
          All query handler should implement this method to support query on the given functionality.
protected  List<QueryResult> identify(IdentifyCriteria criteria, List<? extends WebLayerInfo> layers, WebQuery query, AGSImageQueryFunctionality func)
          Performs an identify on the Image Server and return a list of results
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OBJECT_ID

protected static final String OBJECT_ID
Label for the the map style title in the TOC


LOCATION

protected static final String LOCATION
Label for the Bing Maps map style "Road"

Constructor Detail

AGSImageIdentifyCriteriaHandler

public AGSImageIdentifyCriteriaHandler()
Method Detail

handleCriteria

public List<QueryResult> handleCriteria(QueryCriteria criteria,
                                        List<? extends WebLayerInfo> layers,
                                        WebQuery query,
                                        QueryFunctionality queryFunc)
Description copied from interface: QueryCriteriaHandler
All query handler should implement this method to support query on the given functionality.

Specified by:
handleCriteria in interface QueryCriteriaHandler
Parameters:
criteria - a criteria object, defines query condition.
layers - the layers to query.
query - the web query object, an attribute of WebContext.
queryFunc - query functionality which performs the query.
Returns:
the QueryResult in a list.

identify

protected List<QueryResult> identify(IdentifyCriteria criteria,
                                     List<? extends WebLayerInfo> layers,
                                     WebQuery query,
                                     AGSImageQueryFunctionality func)
Performs an identify on the Image Server and return a list of results

Parameters:
criteria - the criteria for the identify method
layers - the layers to search on
query - the query object
func - the AGSImageQueryFunctionality
Returns:
the list of results