Package | com.esri.baserver.tasks.repository |
Class | public class OpenFeatureLayerParameters |
Inheritance | OpenFeatureLayerParameters RepositoryItemParameters BABaseParameters Object |
Property | Defined By | ||
---|---|---|---|
folderType : FolderType [read-only]
Folder type. | RepositoryItemParameters | ||
item : FolderItem
Folder item to work with. | RepositoryItemParameters | ||
itemName : String [read-only]
Item name. | RepositoryItemParameters | ||
outputSpatialReference : SpatialReference
The spatial reference to return the output feature set in. | OpenFeatureLayerParameters | ||
projectName : String [read-only]
Project name. | RepositoryItemParameters | ||
resultType : BAResultType [read-only]
Type of a result returned by the task associated with these parameters. | BABaseParameters | ||
returnGeometry : Boolean
An option specifying the presence of the shape attribute in the returned record set. | OpenFeatureLayerParameters | ||
taskName : String [read-only]
Name of a Business Analyst Server task associated with these parameters. | BABaseParameters | ||
workspaceName : String [read-only]
Workspace name. | RepositoryItemParameters |
Method | Defined By | ||
---|---|---|---|
OpenFeatureLayerParameters(item:FolderItem = null)
Creates a new instance of the OpenFeatureLayerParameters class. | OpenFeatureLayerParameters |
outputSpatialReference | property |
outputSpatialReference:SpatialReference
The spatial reference to return the output feature set in.
public function get outputSpatialReference():SpatialReference
public function set outputSpatialReference(value:SpatialReference):void
returnGeometry | property |
returnGeometry:Boolean
An option specifying the presence of the shape attribute in the returned record set.
The default value is true
.
public function get returnGeometry():Boolean
public function set returnGeometry(value:Boolean):void
OpenFeatureLayerParameters | () | Constructor |
public function OpenFeatureLayerParameters(item:FolderItem = null)
Creates a new instance of the OpenFeatureLayerParameters class.
Parametersitem:FolderItem (default = null ) — Folder item to open.
|
var parameters:OpenFeatureLayerParameters = new OpenFeatureLayerParameters(); // item is a com.esri.baserver.FolderItem. var item:FolderItem = new FolderItem(); item.workspaceName = workspaceName; item.projectName = projectName; item.folderType = FolderType.STORE_LAYERS; item.itemName = itemName; parameters.item = item; // outputSpatialReference is com.esri.ags.SpatialReference. // If this parameter is omitted, the feature set will be returned in the default spatial reference // of the active dataset. parameters.outputSpatialReference = outSpatialReference; // The geometry is returned by default. //parameters.returnGeometry = true; openFeatureLayerTask.execute(parameters, new Responder(resultHandler, faultHandler));