Packageat.db
Classpublic class BookmarkTransaction
InheritanceBookmarkTransaction Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined by
  debugMode : Boolean = false
BookmarkTransaction
  overlay : OverlayWindow
[write-only]
BookmarkTransaction
  xmlData : XML
BookmarkTransaction
Protected Properties
 PropertyDefined by
  _attributeID : int = 0
BookmarkTransaction
  _bookmarkID : int
BookmarkTransaction
  _calltypeID : int
BookmarkTransaction
  currentDate : Date
BookmarkTransaction
  currentMultipleID : int = 0
BookmarkTransaction
  datecreated : String
BookmarkTransaction
  datemodified : String
BookmarkTransaction
  _isEditable : String = ""
BookmarkTransaction
  isMultipleBookmark : Boolean = false
BookmarkTransaction
  multipleBookmarks : Boolean = false
BookmarkTransaction
  multpleID : int = 0
BookmarkTransaction
  normalizedBookmark : XML
BookmarkTransaction
  queriesComplete : int = 0
BookmarkTransaction
  queriesTotal : int = 0
BookmarkTransaction
  queuedUpdates : Array
BookmarkTransaction
  slideCursor : int = 0
BookmarkTransaction
  _title : String = ""
BookmarkTransaction
  _titleAbbr : String = ""
BookmarkTransaction
  uniqueSlideID : int = 0
BookmarkTransaction
  updateComplete : Boolean = true
BookmarkTransaction
  whocreated : int
BookmarkTransaction
  whomodified : int
BookmarkTransaction
Public Methods
 MethodDefined by
  
BookmarkTransaction(sqlEngine:SQLEngine, target:IEventDispatcher = null)
The BookmarkTransaction class allows updating of which slides are in bookmark(s) asynchronously and provides feedback as it progresses.
BookmarkTransaction
  
updateBookmark(bookmark:XML):void
Method for placing data for a single bookmark into the application database.
BookmarkTransaction
  
updateBookmarks(bookmarks:XMLList):void
Method for placing data for a multiple bookmarks into the application database.
BookmarkTransaction
Protected Methods
 MethodDefined by
  
BookmarkTransaction
Property detail
_attributeIDproperty
protected var _attributeID:int = 0
_bookmarkIDproperty 
protected var _bookmarkID:int
_calltypeIDproperty 
protected var _calltypeID:int
currentDateproperty 
protected var currentDate:Date
currentMultipleIDproperty 
protected var currentMultipleID:int = 0
datecreatedproperty 
protected var datecreated:String
datemodifiedproperty 
protected var datemodified:String
debugModeproperty 
public var debugMode:Boolean = false
_isEditableproperty 
protected var _isEditable:String = ""
isMultipleBookmarkproperty 
protected var isMultipleBookmark:Boolean = false
multipleBookmarksproperty 
protected var multipleBookmarks:Boolean = false
multpleIDproperty 
protected var multpleID:int = 0
normalizedBookmarkproperty 
protected var normalizedBookmark:XML
overlayproperty 
overlay:OverlayWindow  [write-only]Implementation
    public function set overlay(value:OverlayWindow):void
queriesCompleteproperty 
protected var queriesComplete:int = 0
queriesTotalproperty 
protected var queriesTotal:int = 0
queuedUpdatesproperty 
protected var queuedUpdates:Array
slideCursorproperty 
protected var slideCursor:int = 0
_titleproperty 
protected var _title:String = ""
_titleAbbrproperty 
protected var _titleAbbr:String = ""
uniqueSlideIDproperty 
protected var uniqueSlideID:int = 0
updateCompleteproperty 
protected var updateComplete:Boolean = true
whocreatedproperty 
protected var whocreated:int
whomodifiedproperty 
protected var whomodified:int
xmlDataproperty 
public var xmlData:XML
Constructor detail
BookmarkTransaction()constructor
public function BookmarkTransaction(sqlEngine:SQLEngine, target:IEventDispatcher = null)

The BookmarkTransaction class allows updating of which slides are in bookmark(s) asynchronously and provides feedback as it progresses.

When finished with all of it's updates associated with a particular request, it dispatches events of type ProgressEvent.Progress after each database transaction and one event of type Event.COMPLETE when all transactions needed for a particular method called have completed.

Parameters
sqlEngine:SQLEngine
 
target:IEventDispatcher (default = null)
Method detail
onOverlayLoaded()method
protected function onOverlayLoaded(e:OverlayEvent):voidParameters
e:OverlayEvent
updateBookmark()method 
public function updateBookmark(bookmark:XML):void

Method for placing data for a single bookmark into the application database. This method relies on properly formed XML data and XML data that matches the return model for this item type. Valid attributes consist of any variety, however, it is essential that 'dbid' within the slide nodes is ever-present to insure proper data insertion into the application database.

Parameters
bookmark:XML

Example
   <bookmark id="1" title="Custom Eveacore Call Config 1" titleAbbr="ABC" callid="1" isEditable="true">
     <slide dbid="15" id="section4-slide4" ... />
     <slide dbid="3" id="section1-slide3" ... />
     <slide dbid="25" id="section6-slide3" ... />
     <slide dbid="11" id="section3-slide2" ... />
     <slide dbid="23" id="section6-slide1" ... />
     <slide dbid="4" id="section1-slide4" ... />
   </bookmark>
    

updateBookmarks()method 
public function updateBookmarks(bookmarks:XMLList):void

Method for placing data for a multiple bookmarks into the application database. This method relies on properly formed XML data and XML data that matches the return model for this item type. Valid attributes consist of any variety, however, it is essential that 'dbid' within the slide nodes is ever-present to insure proper data insertion into the application database.

Parameters
bookmarks:XMLList

Example
   <bookmark id="1" title="Custom Eveacore Call Config 1" titleAbbr="ABC" callid="1" isEditable="true">
     <slide dbid="15" id="section4-slide4" ... />
     <slide dbid="3" id="section1-slide3" ... />
     <slide dbid="25" id="section6-slide3" ... />
     <slide dbid="11" id="section3-slide2" ... />
     <slide dbid="23" id="section6-slide1" ... />
     <slide dbid="4" id="section1-slide4" ... />
   </bookmark>
   <bookmark id="2" title="Custom Eveacore Call Config 2" titleAbbr="DEF" callid="2" isEditable="true">
     <slide dbid="6" id="section1-slide6" ... />
     <slide dbid="17" id="section5-slide3" ... />
     <slide dbid="56" id="section7-slide3" ... />
     <slide dbid="13" id="section4-slide5" ... />
     <slide dbid="5" id="section1-slide5" ... />
     <slide dbid="19" id="section5-slide5" ... />
   </bookmark>