Packageat.db
Classpublic class GetCallDataXML

Class for retrieving call data from the application database based on indicationid.



Public Properties
 PropertyDefined by
  calldataxml : XMLList
Holds the calldataxml value for the XMLList returned from the data queries to the application database.
GetCallDataXML
  getAttributeXML : GetAttributeXML
Instantiates the GetAttributeXML class.
GetCallDataXML
  indicationID : int
Holds the indicationID value for queries used to locate the call data database records.
GetCallDataXML
Public Methods
 MethodDefined by
  
GetCallDataXML(indicationID:int)
Constructor.
GetCallDataXML
Protected Methods
 MethodDefined by
  
init():void
Init.
GetCallDataXML
  
onDBStatementSelectResult(event:SQLEvent):void
Retrieves the records from the application database that comprise the call data from associated joined tables.
GetCallDataXML
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
GetCallDataXML
  
onEveDBOpened(event:SQLEvent):void
Retrieves the root records from the application database that comprise call data based on the variables indicationID and repID.
GetCallDataXML
Property detail
calldataxmlproperty
public var calldataxml:XMLList

Holds the calldataxml value for the XMLList returned from the data queries to the application database.

getAttributeXMLproperty 
public var getAttributeXML:GetAttributeXML

Instantiates the GetAttributeXML class.

See also

indicationIDproperty 
public var indicationID:int

Holds the indicationID value for queries used to locate the call data database records.

Constructor detail
GetCallDataXML()constructor
public function GetCallDataXML(indicationID:int)

Constructor.

Parameters
indicationID:int
Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

onDBStatementSelectResult()method 
protected function onDBStatementSelectResult(event:SQLEvent):void

Retrieves the records from the application database that comprise the call data from associated joined tables.

This method uses nested queries to loop through the relevant application database tables for call data and then builds a string that is finally cast as XMLList for eVE use. The default callid is also returned in the XMLList wrapper element.

Parameters
event:SQLEventSQLEvent

See also

onEveDBError()method 
protected function onEveDBError(event:SQLEvent):void

Error handler method for database connection errors.

Parameters
event:SQLEventSQLEvent
onEveDBOpened()method 
protected function onEveDBOpened(event:SQLEvent):void

Retrieves the root records from the application database that comprise call data based on the variables indicationID and repID.

Call data comes from 2 primary application database tables: tbl_CallType and tbl_CallConfig. tbl_CallType retains the top-level singular information while tbl_CallConfig holds the records that define which slides are used in a call.

Parameters
event:SQLEventSQLEvent

See also