Packagecom.esri.drs
Classpublic class SessionProperties
InheritanceSessionProperties Inheritance Object
Implements flash.events.IEventDispatcher

Represents an ArcGIS Data Reviewer session parameters to create a new Reviewer Session Instances of this class are passed to the createReviewerSession function in DashboardTask, BatchValidationTask and ReviewerResultsTask.

See also

DRSBaseTask.createReviewerSession()


Public Properties
 PropertyDefined By
  duplicateFilter : String
Indicates how to handle duplicate results when writing the results to the Reviewer workspace.
SessionProperties
  storeGeometry : Boolean
Indicates if validation result geometries are stored in the Reviewer workspace.
SessionProperties
  userName : String
The user account to associate with a session.
SessionProperties
  versionName : String
Enterprise geodatabase version in which records are validated.
SessionProperties
Public Methods
 MethodDefined By
  
SessionProperties(userName:String = null, versionName:String = null, duplicateFilter:String = null, storeGeometry:Boolean = true)
Constructor
SessionProperties
  
toJSON():String
SessionProperties
Property Detail
duplicateFilterproperty
duplicateFilter:String

Indicates how to handle duplicate results when writing the results to the Reviewer workspace. Allowed values are Session, Database and None

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


Implementation
    public function get duplicateFilter():String
    public function set duplicateFilter(value:String):void
storeGeometryproperty 
storeGeometry:Boolean

Indicates if validation result geometries are stored in the Reviewer workspace.

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


Implementation
    public function get storeGeometry():Boolean
    public function set storeGeometry(value:Boolean):void
userNameproperty 
userName:String

The user account to associate with a session.

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


Implementation
    public function get userName():String
    public function set userName(value:String):void
versionNameproperty 
versionName:String

Enterprise geodatabase version in which records are validated.

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


Implementation
    public function get versionName():String
    public function set versionName(value:String):void
Constructor Detail
SessionProperties()Constructor
public function SessionProperties(userName:String = null, versionName:String = null, duplicateFilter:String = null, storeGeometry:Boolean = true)

Constructor

Parameters
userName:String (default = null) — The user account to associate with a session.
 
versionName:String (default = null) — Enterprise geodatabase version to associate with the session.
 
duplicateFilter:String (default = null) — Handle duplicate results when writing the results to the Reviewer workspace. For example: Session,Database,None.
 
storeGeometry:Boolean (default = true) — Controls if validation result geometries are stored in the Reviewer workspace.
Method Detail
toJSON()method
public function toJSON():String

Returns
String — a JSON representation of an instance of SessionProperties.