| Package | com.esri.ags.tasks |
| Class | public class DetailsTask |
| Inheritance | DetailsTask BaseTask flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
![]() | autoNormalize : Boolean
If true, normalizes the geometries across the central meridian. | BaseTask | |
![]() | concurrency : String
Value that indicates how to handle multiple calls to the same task. | BaseTask | |
![]() | disableClientCaching : Boolean
If true, adds a timestamp parameter ("_ts") to the REST request to prevent the request from
being loaded from the browser's cache. | BaseTask | |
| getAllDetailsLastResult : AllDetails [read-only]
The result returned from the last call to the getAllDetails function. | DetailsTask | ||
| getLayerDetailsLastResult : LayerDetails [read-only]
The result returned from the last call to the getDetails function when the id is for a layer. | DetailsTask | ||
| getTableDetailsLastResult : TableDetails [read-only]
The result returned from the last call to the getDetails function when the id is for a table. | DetailsTask | ||
![]() | method : String
URL request method to use. | BaseTask | |
![]() | proxyURL : String
The URL to proxy the request through. | BaseTask | |
![]() | requestTimeout : int
The request timeout in seconds. | BaseTask | |
![]() | showBusyCursor : Boolean
If true, a busy cursor is displayed while a service is executing. | BaseTask | |
![]() | token : String
Token for accessing a secure task. | BaseTask | |
![]() | url : String
URL of the task. | BaseTask | |
| Method | Defined By | ||
|---|---|---|---|
DetailsTask(url:String = null)
Creates a new DetailsTask object. | DetailsTask | ||
getAllDetails(responder:IResponder = null):AsyncToken
Gets the detailed information for all the ArcGIS layers and tables in a Map Service. | DetailsTask | ||
getDetails(layerOrTableId:Number, responder:IResponder = null):AsyncToken
Gets the detailed information for an ArcGIS layer or table. | DetailsTask | ||
| Event | Summary | Defined By | ||
|---|---|---|---|---|
| Dispatched when a DetailsTask fails. | DetailsTask | |||
| Dispatched when an getAllDetails operation successfully completes. | DetailsTask | |||
| Dispatched when an getDetails operation successfully completes. | DetailsTask | |||
| getAllDetailsLastResult | property |
getAllDetailsLastResult:AllDetails [read-only] The result returned from the last call to the getAllDetails function.
This property can be used as the source for data binding.
public function get getAllDetailsLastResult():AllDetails| getLayerDetailsLastResult | property |
getLayerDetailsLastResult:LayerDetails [read-only] The result returned from the last call to the getDetails function when the id is for a layer.
This property can be used as the source for data binding.
public function get getLayerDetailsLastResult():LayerDetails| getTableDetailsLastResult | property |
getTableDetailsLastResult:TableDetails [read-only] The result returned from the last call to the getDetails function when the id is for a table.
This property can be used as the source for data binding.
public function get getTableDetailsLastResult():TableDetails| DetailsTask | () | Constructor |
public function DetailsTask(url:String = null)Creates a new DetailsTask object.
Parametersurl:String (default = null) — URL to the ArcGIS Server REST resource that represents a map service or feature service.
|
| getAllDetails | () | method |
public function getAllDetails(responder:IResponder = null):AsyncTokenGets the detailed information for all the ArcGIS layers and tables in a Map Service. On completion, an AllDetails object is returned. This requires ArcGIS Server 10.0 or above (9.3 will return an "invalid URL" error) and is only supported for Map Services (not Feature Services, Image Services, or any other services).
Parameters
responder:IResponder (default = null) — IResponder to pass the AllDetails result to.
|
AsyncToken |
See also
| getDetails | () | method |
public function getDetails(layerOrTableId:Number, responder:IResponder = null):AsyncTokenGets the detailed information for an ArcGIS layer or table. On completion, a LayerDetails is returned if layerOrTableId is a layer, or a TableDetails is returned if layerOrTableId is a table.
Parameters
layerOrTableId:Number — Layer ID or Table ID assigned by ArcGIS Server for a layer or table.
| |
responder:IResponder (default = null) — IResponder to pass the LayerDetails or TableDetails result to.
|
AsyncToken |
See also
| fault | Event |
mx.rpc.events.FaultEventmx.rpc.events.FaultEvent.FAULTDispatched when a DetailsTask fails.
| getAllDetailsComplete | Event |
com.esri.ags.events.DetailsEventcom.esri.ags.events.DetailsEvent.GET_ALL_DETAILS_COMPLETEDispatched when an getAllDetails operation successfully completes.
Defines the value of thetype property of an getAllDetailsComplete event object.
| getDetailsComplete | Event |
com.esri.ags.events.DetailsEventcom.esri.ags.events.DetailsEvent.GET_DETAILS_COMPLETEDispatched when an getDetails operation successfully completes.
Defines the value of thetype property of an getDetailsComplete event object.