Packageat.db
Classpublic class GetSectionSlideDataXML

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



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

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

sectionslidedataxmlproperty 
public var sectionslidedataxml:XMLList

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

Constructor detail
GetSectionSlideDataXML()constructor
public function GetSectionSlideDataXML(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 records from the application database that comprise the slide data from associated joined tables.

This method utilizes nested queries to loop throguh the relevant information in the application database to the requested section and slide data. It then forms it into a string that is ultimately cast as 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 sectionID.

Parameters
event:SQLEventSQLEvent

See also