Packageat.datacollection
Classpublic class DataItemPrecall
InheritanceDataItemPrecall Inheritance DataItemGeneric



Public Properties
 PropertyDefined by
 InheritedbookEnd : BookEndRow
The Book End for this data collection element per the IDataItem implementation
DataItemGeneric
 InheritedbookEndTime : Date
Internal variable to store the Book End date for this item.
DataItemGeneric
 InheritedbookStart : BookStartRow
The Book Start for this data collection element per the IDataItem implementation
DataItemGeneric
 InheritedbookStartTime : Date
Internal variable to store the Book Start date for this item.
DataItemGeneric
 InheriteddataWorkerOptions : uint
An unsigned integer (uint) that disables various elements of the data collection to be stored into the database
DataItemGeneric
 InheritedendEvent : String
The event that will dispatch signaling the end of data collection of the generic item.
DataItemGeneric
 InheritedfriendlyName : String
A human readable name for your generic item
DataItemGeneric
  itemType : String
[read-only]
DataItemPrecall
 Inheritedproperties : Array
An array of string that correlate to public properties of the Target object.
DataItemGeneric
 InheritedremoveOnEndEvent : Boolean
A boolean to tell the data item worker to remove it from it's internal list once it has been pushed to the database.
DataItemGeneric
 InheritedstartEvent : String
The event that will dispatch signaling the beginning of data collection
DataItemGeneric
 Inheritedtarget : *
This will be the object responsible for providing values for the properties and dispatching the begin and end data collection events.
DataItemGeneric
Public Methods
 MethodDefined by
  
DataItemPrecall(target:Object, dataWorkerOptions:uint, friendlyName:String = null)
This method enables data collection of Precall Module visits.
DataItemPrecall
 Inherited
addBookEndSlotData(args:Array):void
Pushes an array of data to be stored into the data collection database.
DataItemGeneric
 Inherited
addBookEndSlotDataSingle(args:Array):void
Similar to the addBookEndSlotData it will add data to the data slots, however, it will store an unlimited amount to the database.
DataItemGeneric
 Inherited
addBookStartSlotData(args:Array):void
Pushes an array of data to be stored into the DataCollection database.
DataItemGeneric
 Inherited
addBookStartSlotDataSingle(args:Array):void
Similar to the addBookStartSlotData it will add data to the data slots, however, it will store an unlimited amount to the database.
DataItemGeneric
Property detail
itemTypeproperty
itemType:String  [read-only]Implementation
    public function get itemType():String
Constructor detail
DataItemPrecall()constructor
public function DataItemPrecall(target:Object, dataWorkerOptions:uint, friendlyName:String = null)

This method enables data collection of Precall Module visits. This item should be declared in the initalize event of the eVE Application as the Data Item Worker will rely on events that are dispatched as soon as the Precall Module is added to the stage.

Parameters
target:Object — The Precall Module that you would like to data collect visits on.
 
dataWorkerOptions:uint — Any data worker options that you would like disabled.
 
friendlyName:String (default = null) — Optional. A friendly human readable name for your Precall Module.

Example
 
   var diPrecall:DataItemPrecall = new DataItemPrecall(this.PCM,DataWorkerOptions.USE_DEFAULTS);
   DataCollectionModule.addDataCollectionItem(diPrecall);