Packageat.db
Classpublic class GetIndicationSlideDataXML

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



Public Properties
 PropertyDefined by
  indicationID : int
Holds the brandID value for queries used to locate the indication slide database records.
GetIndicationSlideDataXML
  indicationslidedataxml : XMLList
Holds the indicationslidedataxml value for the XMLList returned from the data queries to the application database.
GetIndicationSlideDataXML
Public Methods
 MethodDefined by
  
GetIndicationSlideDataXML(indicationID:int)
Constructor.
GetIndicationSlideDataXML
Protected Methods
 MethodDefined by
  
init():void
Init.
GetIndicationSlideDataXML
  
onDBStatementSelectResult(event:SQLEvent):void
Retrieves the records from the application database that comprise the slide data from associated joined tables.
GetIndicationSlideDataXML
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
GetIndicationSlideDataXML
  
onEveDBOpened(event:SQLEvent):void
Retrieves the root records from the application database that comprise slide data based on the variable indicationID.
GetIndicationSlideDataXML
Property detail
indicationIDproperty
public var indicationID:int

Holds the brandID value for queries used to locate the indication slide database records.

indicationslidedataxmlproperty 
public var indicationslidedataxml:XMLList

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

Constructor detail
GetIndicationSlideDataXML()constructor
public function GetIndicationSlideDataXML(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 slide data from associated joined tables.

This method utilizes a system of looping to extract all the relevant information for a the indication slide data. Once data is retrieved from the application database it is constructed into a string and then cast into XMLList for eVE use.

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 slide data based on the variable indicationID.

Parameters
event:SQLEventSQLEvent

See also