Packageat.db
Classpublic class GetBookmarkStructureXML

Class for retrieving bookmark structure data from the application database based on calltypeid.



Public Properties
 PropertyDefined by
  bookmarkstructurexml : XMLList
Holds the bookmarkstructurexml value for the XMLList returned from the data queries to the application database.
GetBookmarkStructureXML
  calltypeID : int
Holds the calltypeID value for queries used to locate the bookmark database records.
GetBookmarkStructureXML
  getSlideDataByID : SelectSlideData
Class for retrieving original attribute settings for a slide
GetBookmarkStructureXML
  id : int = 0
Holds the id value for the bookmark for XML parsing.
GetBookmarkStructureXML
  idInput : int = 0
Holds the idInput value to be used in query to return bookmark data.
GetBookmarkStructureXML
  isEditable : String = ""
Holds the isEditable value for the bookmark for XML parsing.
GetBookmarkStructureXML
  myPattern : RegExp
Regular expression variable for use in XML parsing
GetBookmarkStructureXML
  title : String = ""
Holds the title value for the bookmark for XML parsing.
GetBookmarkStructureXML
  titleAbbr : String = ""
Holds the titleAbbr value for the bookmark for XML parsing.
GetBookmarkStructureXML
  type : String = ""
Holds the type value for the bookmark for XML parsing.
GetBookmarkStructureXML
Public Methods
 MethodDefined by
  
GetBookmarkStructureXML(calltypeID:int)
Constructor.
GetBookmarkStructureXML
Protected Methods
 MethodDefined by
  
init():void
Init.
GetBookmarkStructureXML
  
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
GetBookmarkStructureXML
  
onEveDBOpened(event:SQLEvent):void
Retrieves the records from the application database that comprise the slide data for a set of bookmarks from associated joined tables.
GetBookmarkStructureXML
Property detail
bookmarkstructurexmlproperty
public var bookmarkstructurexml:XMLList

Holds the bookmarkstructurexml 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.

getSlideDataByIDproperty 
public var getSlideDataByID:SelectSlideData

Class for retrieving original attribute settings for a slide

idproperty 
public var id:int = 0

Holds the id value for the bookmark for XML parsing.

idInputproperty 
public var idInput:int = 0

Holds the idInput value to be used in query to return bookmark data.

isEditableproperty 
public var isEditable:String = ""

Holds the isEditable value for the bookmark for XML parsing.

myPatternproperty 
public var myPattern:RegExp

Regular expression variable for use in XML parsing

titleproperty 
public var title:String = ""

Holds the title value for the bookmark for XML parsing.

titleAbbrproperty 
public var titleAbbr:String = ""

Holds the titleAbbr value for the bookmark for XML parsing.

typeproperty 
public var type:String = ""

Holds the type value for the bookmark for XML parsing.

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

Constructor.

Parameters
calltypeID:int
Method detail
init()method
protected function init():void

Init. Establishes connection to the application database.

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 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