Packagecom.esri.baserver.tasks.segmentation
Classpublic class TapestryProfileReportParameters
InheritanceTapestryProfileReportParameters Inheritance StandardReportParameters Inheritance StandardReportParameters Inheritance BATaskParameters Inheritance Object

The TapestryProfileReportParameters class provides input parameters for the Tapestry Profile Report task.

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.

View the examples

See also

TapestryProfileReportTask


Public Properties
 PropertyDefined By
 InheritedactiveDatasetID : String
Active dataset ID.
BATaskParameters
  baseProfile : ProfileData
Base segmentation profile (required).
TapestryProfileReportParameters
 InheritedoutputReportItem : FolderItem
Configuration options for storing the output report in the repository.
StandardReportParameters
 InheritedoutputTypes : OutputTypes
Task output types.
BATaskParameters
 InheritedresultType : BAResultType
[read-only] Type of the result returned by the task associated with these parameters.
BATaskParameters
 InheritedstandardReportOptions : ReportOptions
Standard report options.
StandardReportParameters
  targetProfile : ProfileData
Target segmentation profile (required).
TapestryProfileReportParameters
 InheritedtaskName : String
[read-only] Name of a Community Analyst Task associated with these parameters.
BATaskParameters
Public Methods
 MethodDefined By
  
Creates a new instance of the TapestryProfileReportParameters class.
TapestryProfileReportParameters
Property Detail
baseProfileproperty
baseProfile:ProfileData

Base segmentation profile (required).


Implementation
    public function get baseProfile():ProfileData
    public function set baseProfile(value:ProfileData):void
targetProfileproperty 
targetProfile:ProfileData

Target segmentation profile (required).


Implementation
    public function get targetProfile():ProfileData
    public function set targetProfile(value:ProfileData):void
Constructor Detail
TapestryProfileReportParameters()Constructor
public function TapestryProfileReportParameters()

Creates a new instance of the TapestryProfileReportParameters class.

Examples
ActionScript to create TapestryProfileReportParameters and then use in a Tapestry Profile Report task:
                     
     var parameters : TapestryProfileReportParameters = newTapestryProfileReportParametersGamePlanChartParameters();
     
     // The ProfileData type could take either data as an XML string
     // or as com.esri.baserver.FolderItem type, e.g.
     //var baseProfile:FolderItem = new FolderItem(workspaceName, projectName, FolderType.SEGMENTATION_PROFILES, profileName);
     
     // Set a base segmentation profile.
     parameters.baseProfile = new ProfileData(baseProfile);
     
     // Set a target segmentation profile.
     parameters.targetProfile = new ProfileData(targetProfile);
     
     // Set report parameters. 
     parameters.standardReportOptions = new ReportOptions("PDF");
      
     tapestryProfileReportTask.execute(parameters, new Responder(resultHandler, faultHandler));