Packageat.db
Classpublic class SelectSectionByIndicationID

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



Public Properties
 PropertyDefined by
  indicationID : int
Holds the indicationID value to be used to locate the section data records from the application database.
SelectSectionByIndicationID
  sectionData : Array
Holds the sectionData data as an array from the application database.
SelectSectionByIndicationID
Public Methods
 MethodDefined by
  
SelectSectionByIndicationID(indicationID:int)
Constructor.
SelectSectionByIndicationID
Protected Methods
 MethodDefined by
  
init():void
Init.
SelectSectionByIndicationID
  
onDBStatementSelectResult(event:SQLEvent):void
Retrieves the data and assigns it to the variable sectionData.
SelectSectionByIndicationID
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
SelectSectionByIndicationID
  
onEveDBOpened(event:SQLEvent):void
Retrieves section data by qeurying the application database.
SelectSectionByIndicationID
Property detail
indicationIDproperty
public var indicationID:int

Holds the indicationID value to be used to locate the section data records from the application database.

sectionDataproperty 
public var sectionData:Array

Holds the sectionData data as an array from the application database.

Constructor detail
SelectSectionByIndicationID()constructor
public function SelectSectionByIndicationID(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 data and assigns it to the variable sectionData.

Parameters
event:SQLEventSQLEvent
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 section data by qeurying the application database.

Parameters
event:SQLEventSQLEvent