Package | at.db |
Class | public class GetRepBagDataXML |
Property | Defined by | ||
---|---|---|---|
getAttributeXML : GetAttributeXML
Instantiates the
GetAttributeXML class. | GetRepBagDataXML | ||
indicationID : int
Holds the
indicationID value for queries used to locate the rep bag database records. | GetRepBagDataXML | ||
repbagdataxml : XMLList
Holds the
repbagxml value for the XMLList returned from the data queries to the application database. | GetRepBagDataXML |
Method | Defined by | ||
---|---|---|---|
GetRepBagDataXML(indicationID:int)
Constructor.
| GetRepBagDataXML |
Method | Defined by | ||
---|---|---|---|
init():void
Init.
| GetRepBagDataXML | ||
onDBStatementSelectResult(event:SQLEvent):void
Retrieves the records from the application database that comprise the rep bag data
from associated joined tables.
| GetRepBagDataXML | ||
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
| GetRepBagDataXML | ||
onEveDBOpened(event:SQLEvent):void
Retrieves the root records from the application database that comprise rep bag data
based on the variables
indicationID . | GetRepBagDataXML |
getAttributeXML | property |
indicationID | property |
public var indicationID:int
Holds the indicationID
value for queries used to locate the rep bag database records.
repbagdataxml | property |
public var repbagdataxml:XMLList
Holds the repbagxml
value for the XMLList returned from the data queries to the application database.
GetRepBagDataXML | () | constructor |
public function GetRepBagDataXML(indicationID:int)
Constructor.
ParametersindicationID:int |
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 rep bag data from associated joined tables.
This method loops through the top (0) level rep bag items to get the 2nd and 2rd level items. During this process each item's assigned attributes are added. A string is built that builds the XML structure that is ultimately cast to XMLList for eVE use.
The attribute level
in the repbag element nodes specifies which parent that it
belongs to. The RebBag object has been designed to go 3 levels deep.
event:SQLEvent — SQLEvent
|
See also
onEveDBError | () | method |
protected function onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
Parametersevent:SQLEvent — SQLEvent
|
onEveDBOpened | () | method |
protected function onEveDBOpened(event:SQLEvent):void
Retrieves the root records from the application database that comprise rep bag data
based on the variables indicationID
.
This method obtains the top level rep bag items, that is, those with a level setting of 0.
Parametersevent:SQLEvent — SQLEvent
|
See also