Packagecom.esri.baserver.tasks.customerstoresetup
Classpublic class CustomerStoreSetupByGeocodeTableParameters
InheritanceCustomerStoreSetupByGeocodeTableParameters Inheritance AnalysisParameters Inheritance AnalysisParameters Inheritance BATaskParameters Inheritance Object

The CustomerStoreSetupByGeocodeTableParameters class provides input parameters for the Customer/Store Setup by Geocode Table task.

Address information for Customer/Store Setup is specified with geocodeData parameter.

The geocodeCustomers parameter specifies the Setup type: the true value (default) means Customer Setup and the false value means Store Setup.

For Customer Setup, the nameField and linkField parameters can be specified. A new customer ID field is created.

For Store Setup, the storeIDField parameter should be specified and the nameField parameter can be specified. The createNewIDField parameter specifies whether to create a new store ID field or not. If its value is true, a new store ID field is added to the output layer with the name specified by the storeIDField parameter. If this name already exists in the input fields, it is slightly modified to be unique. For example, if the input data already contains a field with STORE_ID name and you try to create a new store ID field with the same name, a new field with the STORE_ID_1 name will be created in the output layer.

Output options for this task include rendering an output image (outputTypes.getMapImage) and/or creating a feature class for subsequent analysis (outputTypes.getFeatureClass). If no output options are specified, the required output options are specified as follows. If the renderingParameters parameter is specified, the image output is requested. If the outputAnalysisItem parameter is specified, the output analysis feature class will be stored in the repository. If both renderingParameters and outputAnalysisItem parameters are missing, the feature class output is requested.

View the examples

See also

CustomerStoreSetupByGeocodeTableTask


Public Properties
 PropertyDefined By
 InheritedactiveDatasetID : String
Active dataset ID.
BATaskParameters
  createNewIDField : Boolean
An option specifying the use of an existing store ID field or creating a new store ID field for Store Setup.
CustomerStoreSetupByGeocodeTableParameters
  geocodeCustomers : Boolean
An option specifying the setup type.
CustomerStoreSetupByGeocodeTableParameters
  geocodeData : GeocodeData
Table containing address information for geocoding (required).
CustomerStoreSetupByGeocodeTableParameters
  linkField : String
The name of field to be used for assigning customers with stores or trade areas for Customer Setup.
CustomerStoreSetupByGeocodeTableParameters
  nameField : String
Store/customer name field.
CustomerStoreSetupByGeocodeTableParameters
 InheritedoutputAnalysisItem : FolderItem
Configuration options for storing the output feature class in the repository.
AnalysisParameters
 InheritedoutputSpatialReference : SpatialReference
The spatial reference to return the output feature set in.
AnalysisParameters
 InheritedoutputTypes : OutputTypes
Task output types.
BATaskParameters
 InheritedrenderingParameters : RenderingParameters
Configuration options for rendering output to map image.
AnalysisParameters
 InheritedresultType : BAResultType
[read-only] Type of the result returned by the task associated with these parameters.
BATaskParameters
 InheritedreturnGeometry : Boolean
An option specifying the presence of the shape attribute in the returned record set.
AnalysisParameters
  storeIDField : String
Store ID field name for Store Setup (required).
CustomerStoreSetupByGeocodeTableParameters
 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 CustomerStoreSetupByGeocodeTableParameters class.
CustomerStoreSetupByGeocodeTableParameters
Property Detail
createNewIDFieldproperty
createNewIDField:Boolean

An option specifying the use of an existing store ID field or creating a new store ID field for Store Setup.

The default value is false.


Implementation
    public function get createNewIDField():Boolean
    public function set createNewIDField(value:Boolean):void
geocodeCustomersproperty 
geocodeCustomers:Boolean

An option specifying the setup type.

The default value is true.


Implementation
    public function get geocodeCustomers():Boolean
    public function set geocodeCustomers(value:Boolean):void
geocodeDataproperty 
geocodeData:GeocodeData

Table containing address information for geocoding (required).


Implementation
    public function get geocodeData():GeocodeData
    public function set geocodeData(value:GeocodeData):void
linkFieldproperty 
linkField:String

The name of field to be used for assigning customers with stores or trade areas for Customer Setup.


Implementation
    public function get linkField():String
    public function set linkField(value:String):void
nameFieldproperty 
nameField:String

Store/customer name field.


Implementation
    public function get nameField():String
    public function set nameField(value:String):void
storeIDFieldproperty 
storeIDField:String

Store ID field name for Store Setup (required).


Implementation
    public function get storeIDField():String
    public function set storeIDField(value:String):void
Constructor Detail
CustomerStoreSetupByGeocodeTableParameters()Constructor
public function CustomerStoreSetupByGeocodeTableParameters(outputTypes:OutputTypes = null)

Creates a new instance of the CustomerStoreSetupByGeocodeTableParameters class.

Parameters
outputTypes:OutputTypes (default = null) — Task output types.
Examples
ActionScript to create CustomerStoreSetupByGeocodeTableParameters and then use in a Customer/Store Setup by Geocode Table task:
                     
     var parameters : CustomerStoreSetupByGeocodeTableParameters = new CustomerStoreSetupByGeocodeTableParameters();
     
     // The GeocodeData type is an address information for geocoding, e.g.
     //var geocodeData : GeocodeData = new GeocodeData(new TableData(geocodeAddressesData));
     
     parameters.geocodeData = geocodeData;
     
     customerStoreSetupByGeocodeTableTask.execute(parameters, new Responder(resultHandler, faultHandler));