Packagecom.esri.bacore.adapters
Classpublic class BaseThematicQueryTaskAdapter
InheritanceBaseThematicQueryTaskAdapter Inheritance ConfigurableTaskAdapter Inheritance Object
Implements IQueryTask
Subclasses ThematicQueryTaskAdapter, ThematicQueryTaskAdapter

Since : Community Analyst API for Flex 2.2.

The BaseThematicQueryTaskAdapter class is a base provider of the Thematic Query task.



Public Methods
 MethodDefined By
  
Creates a new instance of the BaseThematicQueryTaskAdapter class.
BaseThematicQueryTaskAdapter
 Inherited
configure(client:AbstractClient, settings:TaskAdapterConfiguration = null):void
Configures this adapter with the client and additional settings.
ConfigurableTaskAdapter
  
execute(geographyLayerInfo:IGeographyLayerInfo, query:Query, responder:IResponder):Boolean
Executes a query for the given layer if the layer is owned by this task.
BaseThematicQueryTaskAdapter
  
initialize(responder:IResponder):void
Initializes the query task.
BaseThematicQueryTaskAdapter
Protected Methods
 MethodDefined By
 Inherited
Configures the internal task with the given client class.
ConfigurableTaskAdapter
Constructor Detail
BaseThematicQueryTaskAdapter()Constructor
public function BaseThematicQueryTaskAdapter()

Creates a new instance of the BaseThematicQueryTaskAdapter class.

Method Detail
execute()method
public function execute(geographyLayerInfo:IGeographyLayerInfo, query:Query, responder:IResponder):Boolean

Executes a query for the given layer if the layer is owned by this task.

This task is an owner of layers that were returned by the initialize method createGeographyLayerInfo method and copies of layers created with the IGeographyLayerInfo.createCopy method.

Before executing the query, the method tests that this task owns the given geography layer. If not, the query task doesn't executed.

Parameters

geographyLayerInfo:IGeographyLayerInfo — A geography layer to execute query on.
 
query:Query — A query to execute.
 
responder:IResponder — A responder to handle query results.

Returns
Boolean — True if the query task is started.
initialize()method 
public function initialize(responder:IResponder):void

Initializes the query task.

Parameters

responder:IResponder — A responder to handle initialization results.