Packageat.db
Classpublic class ParseCallDataXML

Class for parsing single or multiple calls and inserting resultant data into the application database.



Public Properties
 PropertyDefined by
  activeInput : String = "Y"
Holds the active value to be inserted into the active column of the table tbl_CallConfig in the application database.
ParseCallDataXML
  callconfig : CallConfig
Instantiates the CallConfig class.
ParseCallDataXML
  callStructure : String
Holds the callStructure value of the call structure obtained from the XML data passed into the class.
ParseCallDataXML
  calltypeid : int = 0
Holds the calltypeid value obtained from the XML data passed into the class.
ParseCallDataXML
  calltypeID : int
Holds the calltypeID value obtained from the XML data passed into the class.
ParseCallDataXML
  calltypeidInput : int
Holds the calltypeid value to be inserted into the calltypeid column of the table tbl_CallConfig in the application database.
ParseCallDataXML
  commentsInput : String
Holds the comments value to be inserted into the comments column of the table tbl_CallConfig in the application database.
ParseCallDataXML
  descriptionInput : String
Holds the description value to be inserted into the description column of the table tbl_CallConfig in the application database.
ParseCallDataXML
  indicationID : int
Holds the indicationID value obtained from the XML data passed into the class.
ParseCallDataXML
  isEditable : String
Holds the isEditable value obtained from the XML data passed into the class.
ParseCallDataXML
  nameInput : String
Holds the name value to be inserted into the name column of the table tbl_CallConfig in the application database.
ParseCallDataXML
  recordCount : int
Holds the recordCount value of looped data during parsing.
ParseCallDataXML
  recordCount2 : int
Holds the recordCount value of looped data during parsing.
ParseCallDataXML
  repID : int
Holds the repID value obtained from the XML data passed into the class.
ParseCallDataXML
  sectionidInput : int
Holds the sectionid value to be inserted into the sectionid column of the table tbl_CallConfig in the application database.
ParseCallDataXML
  slideidInput : int
Holds the slideid value to be inserted into the slideid column of the table tbl_CallConfig in the application database.
ParseCallDataXML
  title : String
Holds the title value obtained from the XML data passed into the class.
ParseCallDataXML
  titleAbbr : String
Holds the titleAbbr value obtained from the XML data passed into the class.
ParseCallDataXML
  titleabbreviationInput : String
Holds the titleabbreviation value to be inserted into the titleabbreviation column of the table tbl_CallConfig in the application database.
ParseCallDataXML
  type : String
Holds the type value obtained from the XML data passed into the class.
ParseCallDataXML
  updateCallConfigByCallTypeID : UpdateCallConfigByCallTypeID
Instantiates the UpdateCallConfigByCallTypeID class.
ParseCallDataXML
  updateCallType : UpdateCallType
Instantiates the UpdateCallType class.
ParseCallDataXML
  versionInput : int = 0
Holds the version value to be inserted into the version column of the table tbl_CallConfig in the application database.
ParseCallDataXML
  xmlData : XML
Holds the xmlData value that is passed into the class.
ParseCallDataXML
  xmlDataList : XMLList
Holds the xmlDataList value XMLList of the XML data passed into the class.
ParseCallDataXML
  xmlDataList2 : XMLList
Holds the xmlDataList2 value XMLList of the XML data passed into the class.
ParseCallDataXML
Public Methods
 MethodDefined by
  
ParseCallDataXML(xmlData:XML)
Constructor.
ParseCallDataXML
Protected Methods
 MethodDefined by
  
This method obtains primary variable values derived from xmlData - and invokes the helper class UpdateCallConfigByCallTypeID to update existing call data and the helper class UpdateCallType to edit existing call data.
ParseCallDataXML
Property detail
activeInputproperty
public var activeInput:String = "Y"

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

The default value is Y.

callconfigproperty 
public var callconfig:CallConfig

Instantiates the CallConfig class.

See also

callStructureproperty 
public var callStructure:String

Holds the callStructure value of the call structure obtained from the XML data passed into the class.

calltypeidproperty 
public var calltypeid:int = 0

Holds the calltypeid value obtained from the XML data passed into the class.

calltypeIDproperty 
public var calltypeID:int

Holds the calltypeID value obtained from the XML data passed into the class.

calltypeidInputproperty 
public var calltypeidInput:int

Holds the calltypeid value to be inserted into the calltypeid column of the table tbl_CallConfig in the application database.

commentsInputproperty 
public var commentsInput:String

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

descriptionInputproperty 
public var descriptionInput:String

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

indicationIDproperty 
public var indicationID:int

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

isEditableproperty 
public var isEditable:String

Holds the isEditable value obtained from the XML data passed into the class.

nameInputproperty 
public var nameInput:String

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

recordCountproperty 
public var recordCount:int

Holds the recordCount value of looped data during parsing.

recordCount2property 
public var recordCount2:int

Holds the recordCount value of looped data during parsing.

repIDproperty 
public var repID:int

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

sectionidInputproperty 
public var sectionidInput:int

Holds the sectionid value to be inserted into the sectionid column of the table tbl_CallConfig in the application database.

slideidInputproperty 
public var slideidInput:int

Holds the slideid value to be inserted into the slideid column of the table tbl_CallConfig in the application database.

titleproperty 
public var title:String

Holds the title value obtained from the XML data passed into the class.

titleAbbrproperty 
public var titleAbbr:String

Holds the titleAbbr value obtained from the XML data passed into the class.

titleabbreviationInputproperty 
public var titleabbreviationInput:String

Holds the titleabbreviation value to be inserted into the titleabbreviation column of the table tbl_CallConfig in the application database.

typeproperty 
public var type:String

Holds the type value obtained from the XML data passed into the class.

updateCallConfigByCallTypeIDproperty 
public var updateCallConfigByCallTypeID:UpdateCallConfigByCallTypeID

Instantiates the UpdateCallConfigByCallTypeID class.

See also

updateCallTypeproperty 
public var updateCallType:UpdateCallType

Instantiates the UpdateCallType class.

See also

versionInputproperty 
public var versionInput:int = 0

Holds the version value to be inserted into the version column of the table tbl_CallConfig in the application database.

The default value is 0.

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
ParseCallDataXML()constructor
public function ParseCallDataXML(xmlData:XML)

Constructor.

Parameters
xmlData:XML

Example
   
   
     
      
      
      
      
      
      
      
     
     
      
      
      
      
      
      
     
     
      
       
       
       
      
      
       
       
      
      
     
   
   
   

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

This method obtains primary variable values derived from xmlData - and invokes the helper class UpdateCallConfigByCallTypeID to update existing call data and the helper class UpdateCallType to edit existing call data.

To properly insert this particular data the toXMLString() method must be used.

See also