Packageat.datacollection.workers
Classpublic class DataWorkerPrecall
InheritanceDataWorkerPrecall Inheritance DataWorkerGeneric



Public Properties
 PropertyDefined by
  debugMode : Boolean = false
[static]
DataWorkerPrecall
  expectedItemType : String
[read-only]
DataWorkerPrecall
  type : String
[read-only]
DataWorkerPrecall
Protected Properties
 PropertyDefined by
 Inherited_itemList : Array
An internal list of Data items for this worker class.
DataWorkerGeneric
Public Methods
 MethodDefined by
  
DataWorkerPrecall collects visits to the precall module.
DataWorkerPrecall
 Inherited
This is the IDataItemWorker implementation of adding a Data item to this classes internal list.
DataWorkerGeneric
 Inherited
flush():void
This is the IDataItemWorker implementation of flushing open bookends to the database.
DataWorkerGeneric
Protected Methods
 MethodDefined by
 Inherited
attachListeners(index:int):void
Attaches listeners that begin and end data events.
DataWorkerGeneric
 Inherited
Function goes through the hierarchy of the object passed and return the first instance of a presentation module in the chain.
DataWorkerGeneric
 Inherited
findTarget(pTarget:*):int
Finds a matching target in the _itemList and returns its position in the array.
DataWorkerGeneric
  
onEndEvent(e:Event = null):void
DataWorkerPrecall
  
onStartEvent(e:Event):void
DataWorkerPrecall
 Inherited
parseOptions(index:int):void
This method iterates over the DataWorker Options that were specified in the in the Data Item Description and modifies the data before it is pushed into the database.
DataWorkerGeneric
 Inherited
pushToDatabase(index:int):void
This method pushes the BookStart, BookEnd and related slot data to the DataCollectionInterface to be inserted into the DataCollection database.
DataWorkerGeneric
 Inherited
removeListeners(index:int):void
Removes the listeners that were attached from the attachListeners(index:int) method.
DataWorkerGeneric
Public Constants
 ConstantDefined by
  DATA_EXPECTED_TYPE : String = "precall"
[static]
DataWorkerPrecall
  DATA_TYPE : String = "dataCollectionPrecall"
[static]
DataWorkerPrecall
Property detail
debugModeproperty
public static var debugMode:Boolean = false
expectedItemTypeproperty 
expectedItemType:String  [read-only]Implementation
    public function get expectedItemType():String
typeproperty 
type:String  [read-only]Implementation
    public function get type():String
Constructor detail
DataWorkerPrecall()constructor
public function DataWorkerPrecall()

DataWorkerPrecall collects visits to the precall module. There is no "all precalls" item as there is no way to determine the number of precall modules in the applicaiton. These will have to be set on a per instance basis.

Method detail
onEndEvent()method
protected override function onEndEvent(e:Event = null):voidParameters
e:Event (default = null)
onStartEvent()method 
protected override function onStartEvent(e:Event):voidParameters
e:Event
Constant detail
DATA_EXPECTED_TYPEconstant
public static const DATA_EXPECTED_TYPE:String = "precall"
DATA_TYPEconstant 
public static const DATA_TYPE:String = "dataCollectionPrecall"