Packageat.db
Classpublic class GetBookmarkDataXML

Class for retrieving a single bookmark dataset from the application database based on calltypeid.



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

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

calltypeIDproperty 
public var calltypeID:int

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

getAttributeXMLproperty 
public var getAttributeXML:GetAttributeXML

Instantiates the GetAttributeXML class.

See also

Constructor detail
GetBookmarkDataXML()constructor
public function GetBookmarkDataXML(calltypeID:int)

Constructor.

Parameters
calltypeID: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 set of bookmarks from associated joined tables.

This method utilizes a system of looping to extract all the relevant information for a bookmark set, with a predecessor query that obtains the value for the isEditable setting. Once data is retrieved from the application database it is constructed into a string and then cast into XMLList for eVE use.

If there are no bookmarks at all for this calltypeid this method uses the calltypeid to grab data from the calltype table and create a childless bookmark element in the XML

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 a set of bookmarks for a call based on the variable calltypeID.

Parameters
event:SQLEventSQLEvent

See also