Package | at.db |
Class | public class GetBookmarkDataByIndicationIDXML |
Property | Defined by | ||
---|---|---|---|
bookmarkdataxml : XMLList
Holds the
bookmarkdataxml value for the XMLList returned from the data queries to the application database. | GetBookmarkDataByIndicationIDXML | ||
getAttributeXML : GetAttributeXML
Instantiates the
GetAttributeXML class. | GetBookmarkDataByIndicationIDXML | ||
indicationID : int
Holds the
indicationID value for queries used to locate the bookmark database records. | GetBookmarkDataByIndicationIDXML |
Method | Defined by | ||
---|---|---|---|
GetBookmarkDataByIndicationIDXML(indicationID:int)
Constructor.
| GetBookmarkDataByIndicationIDXML |
Method | Defined by | ||
---|---|---|---|
init():void
Init.
| GetBookmarkDataByIndicationIDXML | ||
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.
| GetBookmarkDataByIndicationIDXML | ||
onEveDBError(event:SQLEvent):void
Error handler method for database connection errors.
| GetBookmarkDataByIndicationIDXML | ||
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
indicationID . | GetBookmarkDataByIndicationIDXML |
bookmarkdataxml | property |
public var bookmarkdataxml:XMLList
Holds the bookmarkdataxml
value for the XMLList returned from the data queries to the application database.
getAttributeXML | property |
indicationID | property |
public var indicationID:int
Holds the indicationID
value for queries used to locate the bookmark database records.
GetBookmarkDataByIndicationIDXML | () | constructor |
public function GetBookmarkDataByIndicationIDXML(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 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 bookmarks 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