Packageat.db
Classpublic class SelectSlideBySectionID

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



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

Holds the sectionID value to be used to locate the slide data records from the application database.

slideDataproperty 
public var slideData:Array

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

Constructor detail
SelectSlideBySectionID()constructor
public function SelectSlideBySectionID(sectionID:int)

Constructor.

Parameters
sectionID: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 slideData.

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

Parameters
event:SQLEventSQLEvent