Packageat.db
Classpublic class ParseDefaultCallXML

Class for setting the default call id for an indication in the application database.



Public Properties
 PropertyDefined by
  active : String = "Y"
Holds the active value to be inserted into the active column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  brandid : int
Holds the brandid value to be inserted into the brandid column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  comments : String
Holds the comments value to be inserted into the comments column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  datecreated : String
Holds the datecreated value to be inserted into the datecreated column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  datemodified : String
Holds the datemodified value to be inserted into the datemodified column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  defaultcallid : int
Holds the defaultcallid value to be inserted into the defaultcallid column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  defaultcallID : int
Holds the defaultcallID value obtained from the XML data that is passed into the class.
ParseDefaultCallXML
  description : String
Holds the description value to be inserted into the description column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  eveid : String
Holds the eveid value to be inserted into the eveid column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  id : int
Holds the id value used to reference the existing call record.
ParseDefaultCallXML
  id2 : int
Holds the id2 value to be inserted into the id2 column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  indicationID : int
Holds the indicationID value obtained from the XML data that is passed into the class.
ParseDefaultCallXML
  name : String
Holds the name value to be inserted into the name column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  recordCount : int
Holds the recordCount value of looped data during parsing.
ParseDefaultCallXML
  repID : int
Holds the repID value obtained from the XML data that is passed into the class.
ParseDefaultCallXML
  version : int = 0
Holds the version value to be inserted into the version column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  whocreated : int
Holds the whocreated value to be inserted into the whocreated column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  whomodified : int
Holds the whomodified value to be inserted into the whomodified column of the table tbl_Indication in the application database.
ParseDefaultCallXML
  xmlData : XML
Holds the xmlData value that is passed into the class.
ParseDefaultCallXML
  xmlDataList : XMLList
Holds the xmlDataList value XMLList of the XML data passed into the class.
ParseDefaultCallXML
  xmlDataList2 : XMLList
Holds the xmlDataList2 value XMLList of the XML data passed into the class.
ParseDefaultCallXML
Public Methods
 MethodDefined by
  
ParseDefaultCallXML(xmlData:XML)
Constructor.
ParseDefaultCallXML
Protected Methods
 MethodDefined by
  
init():void
Init.
ParseDefaultCallXML
  
onDBStatementEditResult(event:SQLEvent):void
Updates existing call record data if it exists in the application database and sets the defaultcallid value for an indication.
ParseDefaultCallXML
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
ParseDefaultCallXML
  
onEveDBOpened(event:SQLEvent):void
Retrieves existing call record data if it exists in the application database.
ParseDefaultCallXML
Property detail
activeproperty
public var active:String = "Y"

Holds the active value to be inserted into the active column of the table tbl_Indication in the application database.

The default value is Y.

brandidproperty 
public var brandid:int

Holds the brandid value to be inserted into the brandid column of the table tbl_Indication in the application database.

commentsproperty 
public var comments:String

Holds the comments value to be inserted into the comments column of the table tbl_Indication in the application database.

datecreatedproperty 
public var datecreated:String

Holds the datecreated value to be inserted into the datecreated column of the table tbl_Indication in the application database.

datemodifiedproperty 
public var datemodified:String

Holds the datemodified value to be inserted into the datemodified column of the table tbl_Indication in the application database.

defaultcallidproperty 
public var defaultcallid:int

Holds the defaultcallid value to be inserted into the defaultcallid column of the table tbl_Indication in the application database.

defaultcallIDproperty 
public var defaultcallID:int

Holds the defaultcallID value obtained from the XML data that is passed into the class.

descriptionproperty 
public var description:String

Holds the description value to be inserted into the description column of the table tbl_Indication in the application database.

eveidproperty 
public var eveid:String

Holds the eveid value to be inserted into the eveid column of the table tbl_Indication in the application database.

idproperty 
public var id:int

Holds the id value used to reference the existing call record.

id2property 
public var id2:int

Holds the id2 value to be inserted into the id2 column of the table tbl_Indication in the application database. Primarily used for synchronization with a remote database.

indicationIDproperty 
public var indicationID:int

Holds the indicationID value obtained from the XML data that is passed into the class.

nameproperty 
public var name:String

Holds the name value to be inserted into the name column of the table tbl_Indication in the application database.

recordCountproperty 
public var recordCount:int

Holds the recordCount value of looped data during parsing.

repIDproperty 
public var repID:int

Holds the repID value obtained from the XML data that is passed into the class.

versionproperty 
public var version:int = 0

Holds the version value to be inserted into the version column of the table tbl_Indication in the application database. Primarily used for synchronization with a remote database.

The default value is 0.

whocreatedproperty 
public var whocreated:int

Holds the whocreated value to be inserted into the whocreated column of the table tbl_Indication in the application database.

whomodifiedproperty 
public var whomodified:int

Holds the whomodified value to be inserted into the whomodified column of the table tbl_Indication in the application database.

xmlDataproperty 
public var xmlData:XML

Holds the xmlData value that is passed into the class.

xmlDataListproperty 
public var xmlDataList:XMLList

Holds the xmlDataList value XMLList of the XML data passed into the class.

xmlDataList2property 
public var xmlDataList2:XMLList

Holds the xmlDataList2 value XMLList of the XML data passed into the class.

Constructor detail
ParseDefaultCallXML()constructor
public function ParseDefaultCallXML(xmlData:XML)

Constructor.

Parameters
xmlData:XML

Example
   
   
   
   

Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

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

Updates existing call record data if it exists in the application database and sets the defaultcallid value for an indication.

Parameters
event:SQLEvent
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 existing call record data if it exists in the application database.

Parameters
event:SQLEvent