Packagecom.esri.baserver.adapters
Classpublic class BusinessSearchParameters
InheritanceBusinessSearchParameters Inheritance Object

Since : Community Analyst API for Flex 2.2.

The BusinessSearchParameters class provides parameters for SelectBusinessesParameters.

See also

BusinessSearchTaskAdapter


Public Properties
 PropertyDefined By
  analysisExtent : Geometry
Spatial/geographic extent to filter search results with.
BusinessSearchParameters
  businessTypeFilters : Array
An array of BusinessTypeFilter items restricting the search.
BusinessSearchParameters
  featuresLimit : int
The limit of returned business points.
BusinessSearchParameters
  locations : Array
Array of address locations to filter search results with.
BusinessSearchParameters
  matchExactly : Boolean
True value of the parameter means the exact match of the string to search.
BusinessSearchParameters
  outputSpatialReference : SpatialReference
The spatial reference to return the output feature set in.
BusinessSearchParameters
  returnGeometry : Boolean
An option specifying the presence of the shape attribute in the returned record set.
BusinessSearchParameters
  searchString : String
A string of characters which is used in the search query.
BusinessSearchParameters
  studyArea : IStudyArea
Study area to filter search results with.
BusinessSearchParameters
  useSimpleSearch : Boolean
True value of the parameter means a simple search (in company names only).
BusinessSearchParameters
Public Methods
 MethodDefined By
  
Creates a new instance of the BusinessSearchParameters class.
BusinessSearchParameters
Property Detail
analysisExtentproperty
analysisExtent:Geometry

Spatial/geographic extent to filter search results with. This parameter expects a value of the Extent or Polygon type.

The analysisExtent, studyArea, and locations parameters are mutually exclusive. Only one of them could be specified.


Implementation
    public function get analysisExtent():Geometry
    public function set analysisExtent(value:Geometry):void

See also

businessTypeFiltersproperty 
businessTypeFilters:Array

An array of BusinessTypeFilter items restricting the search.


Implementation
    public function get businessTypeFilters():Array
    public function set businessTypeFilters(value:Array):void

See also

BusinessTypeFilter
featuresLimitproperty 
featuresLimit:int

The limit of returned business points.


Implementation
    public function get featuresLimit():int
    public function set featuresLimit(value:int):void
locationsproperty 
locations:Array

Array of address locations to filter search results with. This array should contain String type items.

The analysisExtent, studyArea, and locations parameters are mutually exclusive. Only one of them could be specified.


Implementation
    public function get locations():Array
    public function set locations(value:Array):void
matchExactlyproperty 
matchExactly:Boolean

True value of the parameter means the exact match of the string to search.

The default value is false.


Implementation
    public function get matchExactly():Boolean
    public function set matchExactly(value:Boolean):void
outputSpatialReferenceproperty 
outputSpatialReference:SpatialReference

The spatial reference to return the output feature set in.


Implementation
    public function get outputSpatialReference():SpatialReference
    public function set outputSpatialReference(value:SpatialReference):void
returnGeometryproperty 
returnGeometry:Boolean

An option specifying the presence of the shape attribute in the returned record set.

The default value is true.


Implementation
    public function get returnGeometry():Boolean
    public function set returnGeometry(value:Boolean):void
searchStringproperty 
searchString:String

A string of characters which is used in the search query.


Implementation
    public function get searchString():String
    public function set searchString(value:String):void
studyAreaproperty 
studyArea:IStudyArea

Study area to filter search results with.

The analysisExtent, studyArea, and locations parameters are mutually exclusive. Only one of them could be specified.


Implementation
    public function get studyArea():IStudyArea
    public function set studyArea(value:IStudyArea):void
useSimpleSearchproperty 
useSimpleSearch:Boolean

True value of the parameter means a simple search (in company names only).


Implementation
    public function get useSimpleSearch():Boolean
    public function set useSimpleSearch(value:Boolean):void
Constructor Detail
BusinessSearchParameters()Constructor
public function BusinessSearchParameters()

Creates a new instance of the BusinessSearchParameters class.