Packageat.db
Classpublic class GetBrandSlideDataXML

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



Public Properties
 PropertyDefined by
  brandID : int
Holds the brandID value for queries used to locate the bookmark database records.
GetBrandSlideDataXML
  brandslidedataxml : XMLList
Holds the brandslidedataxml value for the XMLList returned from the data queries to the application database.
GetBrandSlideDataXML
  getAttributeXML : GetAttributeXML
Instantiates the GetAttributeXML class.
GetBrandSlideDataXML
Public Methods
 MethodDefined by
  
GetBrandSlideDataXML(brandID:int)
Constructor.
GetBrandSlideDataXML
Protected Methods
 MethodDefined by
  
init():void
Init.
GetBrandSlideDataXML
  
onDBStatementSelectResult(event:SQLEvent):void
Retrieves the records from the application database that comprise the slide data for a brand from associated joined tables.
GetBrandSlideDataXML
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
GetBrandSlideDataXML
  
onEveDBOpened(event:SQLEvent):void
Retrieves the root records from the application database that comprise slide data for a brand based on the variable brandID.
GetBrandSlideDataXML
Property detail
brandIDproperty
public var brandID:int

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

brandslidedataxmlproperty 
public var brandslidedataxml:XMLList

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

getAttributeXMLproperty 
public var getAttributeXML:GetAttributeXML

Instantiates the GetAttributeXML class.

See also

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

This method utilizes a system of looping to extract all the relevant information for a the brand slide data. Once data is retrieved from the application database it is constructed into a string and then cast into 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 for a brand based on the variable brandID.

Parameters
event:SQLEventSQLEvent

See also