Packageno.arton.guitarplayer.file
Classpublic class SQLiteManager
InheritanceSQLiteManager Inheritance flash.events.EventDispatcher

...



Public Methods
 MethodDefined by
  
constructor
SQLiteManager
  
getPlayList():Array
Returns the play list fetched from the database.
SQLiteManager
  
openDatabase():void
SQLiteManager
  
selects all fields from the recentFiles table
SQLiteManager
  
updatePlayList(playList:Array):void
First it deletes all previous data and insert the updated play list.
SQLiteManager
Constructor detail
SQLiteManager()constructor
public function SQLiteManager()

constructor

Method detail
getPlayList()method
public function getPlayList():Array

Returns the play list fetched from the database. Run queryPlayList first and wait for SQLEvent.RESULT to be dispatched, then you can call getPlayList to get the updated play list.

Returns
Array
openDatabase()method 
public function openDatabase():void
queryPlayList()method 
public function queryPlayList():void

selects all fields from the recentFiles table

updatePlayList()method 
public function updatePlayList(playList:Array):void

First it deletes all previous data and insert the updated play list. BRUTE FORCE! :D

Parameters
playList:Array