Packageat.db
Classpublic class SelectIndicationByBrandID

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



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

Holds the brandID value to be used to locate the indication data records from the application database.

indicationDataproperty 
public var indicationData:Array

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

Constructor detail
SelectIndicationByBrandID()constructor
public function SelectIndicationByBrandID(brandID:int)

Constructor.

Parameters
brandID: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 indicationData.

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 indication data by qeurying the application database.

Parameters
event:SQLEventSQLEvent