Packageat.db
Classpublic class DeleteIndicationByBrandID

Class for deleting a record(s) from the table tbl_Indication in the application database.



Public Properties
 PropertyDefined by
  brandID : int
Holds the brandID value to be used in a query to locate the indication record to be deleted.
DeleteIndicationByBrandID
Public Methods
 MethodDefined by
  
Constructor.
DeleteIndicationByBrandID
Protected Methods
 MethodDefined by
  
init():void
Init.
DeleteIndicationByBrandID
  
onDBStatementDeleteResult(event:SQLEvent):void
Listener handler method for database SQL statement result.
DeleteIndicationByBrandID
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
DeleteIndicationByBrandID
  
onEveDBOpened(event:SQLEvent):void
Deletes a record or several records from the table tbl_Indication in the application database where brandid matches the variable brandID.
DeleteIndicationByBrandID
Property detail
brandIDproperty
public var brandID:int

Holds the brandID value to be used in a query to locate the indication record to be deleted.

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

Constructor.

Parameters
brandID:int
Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

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

Listener handler method for database SQL statement result.

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

Deletes a record or several records from the table tbl_Indication in the application database where brandid matches the variable brandID.

Parameters
event:SQLEventSQLEvent