Package | com.esri.baserver.tasks.reports |
Class | public class CustomerGeographicSummaryParameters |
Inheritance | CustomerGeographicSummaryParameters StandardReportParameters StandardReportParameters BATaskParameters Object |
Output options for this task include creating a report (outputTypes.getReport). You need not specify the output options for this task because the getReport output type is set by default.
See also
Property | Defined By | ||
---|---|---|---|
activeDatasetID : String
Active dataset ID. | BATaskParameters | ||
customers : PointLayer
The customer layer used to get the geographic summary for (required). | CustomerGeographicSummaryParameters | ||
outputReportItem : FolderItem
Configuration options for storing the output report in the repository. | StandardReportParameters | ||
outputTypes : OutputTypes
Task output types. | BATaskParameters | ||
resultType : BAResultType [read-only]
Type of the result returned by the task associated with these parameters. | BATaskParameters | ||
standardReportOptions : ReportOptions
Standard report options. | StandardReportParameters | ||
taskName : String [read-only]
Name of a Community Analyst Task associated with these parameters. | BATaskParameters |
Method | Defined By | ||
---|---|---|---|
CustomerGeographicSummaryParameters(customers:PointLayer = null)
Creates a new instance of the CustomerGeographicSummaryParameters class. | CustomerGeographicSummaryParameters |
customers | property |
customers:PointLayer
The customer layer used to get the geographic summary for (required).
public function get customers():PointLayer
public function set customers(value:PointLayer):void
CustomerGeographicSummaryParameters | () | Constructor |
public function CustomerGeographicSummaryParameters(customers:PointLayer = null)
Creates a new instance of the CustomerGeographicSummaryParameters class.
Parameterscustomers:PointLayer (default = null ) — The customer layer used to get the geographic summary for.
|
var parameters : CustomerGeographicSummaryParameters = new CustomerGeographicSummaryParameters(); // The PointLayer type could take either data as type // com.esri.ags.tasks.FeatureSet, com.esri.baserver.FolderItem, // or an array of com.esri.bacore.PointRecord items, e.g. //var points:Array = [new PointRecord("Customer 1", "Steiner St. & Geary Blvd", "1", 37.78415, -122.4346)]; // Set customers as an array of PointRecord items. parameters.customers = new PointLayer(points); // Set report parameters. parameters.standardReportOptions = new ReportOptions("PDF"); customerGeographicSummaryTask.execute(parameters, new Responder(resultHandler, faultHandler));