Package | at.db |
Class | public class GetBookmarkStructureByIndicationIDXML |
Property | Defined by | ||
---|---|---|---|
bookmarkstructurexml : XMLList
Holds the
bookmarkstructurexml value for the XMLList returned from the data queries to the application database. | GetBookmarkStructureByIndicationIDXML | ||
getSlideDataByID : SelectSlideData
Class for retrieving original attribute settings for a slide
| GetBookmarkStructureByIndicationIDXML | ||
id : int = 0
Holds the
id value for the bookmark for XML parsing. | GetBookmarkStructureByIndicationIDXML | ||
idInput : int = 0
Holds the
idInput value to be used in query to return bookmark data. | GetBookmarkStructureByIndicationIDXML | ||
indicationID : int
Holds the
indicationID value for queries used to locate the bookmark database records. | GetBookmarkStructureByIndicationIDXML | ||
isEditable : String = ""
Holds the
isEditable value for the bookmark for XML parsing. | GetBookmarkStructureByIndicationIDXML | ||
myPattern : RegExp
Regular expression variable for use in XML parsing
| GetBookmarkStructureByIndicationIDXML | ||
title : String = ""
Holds the
title value for the bookmark for XML parsing. | GetBookmarkStructureByIndicationIDXML | ||
titleAbbr : String = ""
Holds the
titleAbbr value for the bookmark for XML parsing. | GetBookmarkStructureByIndicationIDXML | ||
type : String = ""
Holds the
type value for the bookmark for XML parsing. | GetBookmarkStructureByIndicationIDXML |
Method | Defined by | ||
---|---|---|---|
GetBookmarkStructureByIndicationIDXML(indicationID:int)
Constructor.
| GetBookmarkStructureByIndicationIDXML |
Method | Defined by | ||
---|---|---|---|
init():void
Init.
| GetBookmarkStructureByIndicationIDXML | ||
onDBStatementSelectResult(event:SQLEvent):void
Retrieves the records from the application database that comprise the slide data for
a set of bookmarks for an indication from associated joined tables.
| GetBookmarkStructureByIndicationIDXML | ||
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
| GetBookmarkStructureByIndicationIDXML | ||
onEveDBOpened(event:SQLEvent):void
Retrieves the root records from the application database that comprise a set of bookmark structures for
a call based on the variable
indicationID . | GetBookmarkStructureByIndicationIDXML |
bookmarkstructurexml | property |
public var bookmarkstructurexml:XMLList
Holds the bookmarkstructurexml
value for the XMLList returned from the data queries to the application database.
getSlideDataByID | property |
public var getSlideDataByID:SelectSlideData
Class for retrieving original attribute settings for a slide
id | property |
public var id:int = 0
Holds the id
value for the bookmark for XML parsing.
idInput | property |
public var idInput:int = 0
Holds the idInput
value to be used in query to return bookmark data.
indicationID | property |
public var indicationID:int
Holds the indicationID
value for queries used to locate the bookmark database records.
isEditable | property |
public var isEditable:String = ""
Holds the isEditable
value for the bookmark for XML parsing.
myPattern | property |
public var myPattern:RegExp
Regular expression variable for use in XML parsing
title | property |
public var title:String = ""
Holds the title
value for the bookmark for XML parsing.
titleAbbr | property |
public var titleAbbr:String = ""
Holds the titleAbbr
value for the bookmark for XML parsing.
type | property |
public var type:String = ""
Holds the type
value for the bookmark for XML parsing.
GetBookmarkStructureByIndicationIDXML | () | constructor |
public function GetBookmarkStructureByIndicationIDXML(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 slide data for a set of bookmarks for an indication 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 indicationid this method uses the calltypeid to grab data from the calltype table and create a childless bookmark element in the XML
Parametersevent: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 a set of bookmark structures for
a call based on the variable indicationID
.
The bookmarks in eVE are linked to calls. In the application database the calls are represented primarily by 2 tables: tbl_CallType and tbl_CallConfig. Similarly the bookmarks are represented in the application database by these 2 tables: tbl_Bookmark and tbl_BookmarkAttributes.
A set of bookmarks is comprised of slides. The slides correlate to a state that users can navigate to during a presentation.
Parametersevent:SQLEvent — SQLEvent
|
See also