Packagecom.esri.drs
Classpublic class DashboardResult
InheritanceDashboardResult Inheritance Object
Implements flash.events.IEventDispatcher

Encapsulates data describing a Dashboard Result. This includes arrays that contain unique field values, counts of those field values, and ReviewerFilters. DashboardTaskEvents return instances of this class in a results property. These events are dispatched after ArcGIS Data Reviewer for Server responds to a getDashboardResults request.

See also

ReviewerFilters
DataReviewerTaskEvent
DashboardTask.getDashboardResults()


Public Properties
 PropertyDefined By
  counts : Array
Array of reviewer result field value counts.
DashboardResult
  fieldName : String
Name of reviewer results field.
DashboardResult
  fieldValues : Array
Array of reviewer results field values.
DashboardResult
  filters : ReviewerFilters
ReviewerFilters.
DashboardResult
Public Methods
 MethodDefined By
  
Constructor
DashboardResult
  
getCount(fieldValue:*):Number
Gets the result count for a field value.
DashboardResult
Property Detail
countsproperty
counts:Array

Array of reviewer result field value counts. Counts are a summary of unique field values in a field. Each count corresponds to one of the unique fieldValues. For example, for fieldName = severity, with fieldValues = [1,2,3,4,5]: [100,142,12,65,81] This indicates that in the Reviewer workspace there are 100 results stored that have a severity value of 1, 142 results with severity 2, and so on.

This property can be used as the source for data binding.


Implementation
    public function get counts():Array
    public function set counts(value:Array):void
fieldNameproperty 
fieldName:String

Name of reviewer results field. Results represent total counts (group by) of values from this field. This is the field name used in the getDashboardResults function of the DashboardTask class.

For example: severity

This property can be used as the source for data binding.


Implementation
    public function get fieldName():String
    public function set fieldName(value:String):void
fieldValuesproperty 
fieldValues:Array

Array of reviewer results field values. These are the unique values that the field specified by fieldName contains. For example, for fieldName = severity: [1,2,3,4,5]

This property can be used as the source for data binding.


Implementation
    public function get fieldValues():Array
    public function set fieldValues(value:Array):void
filtersproperty 
filters:ReviewerFilters

ReviewerFilters. Filters limit or precisely define which dashboard results to generate. You can apply multiple filters to a single request.

This property can be used as the source for data binding.


Implementation
    public function get filters():ReviewerFilters
    public function set filters(value:ReviewerFilters):void

See also

Constructor Detail
DashboardResult()Constructor
public function DashboardResult()

Constructor

Method Detail
getCount()method
public function getCount(fieldValue:*):Number

Gets the result count for a field value.

Parameters

fieldValue:* — Unique field value from the fieldValues array.

Returns
Number