Packagecom.ericfeminella.sql.dao
Classpublic class AbstractAsynchronousSQLDAO
InheritanceAbstractAsynchronousSQLDAO Inheritance AbstractSQLDAO

AbstractAsynchronousSQLDAO provides an abstraction of an asynchronous SQL DAO implementation.



Public Properties
 PropertyDefined by
  responder : Responder
Retrieves a reference to the Responder instance which handles SQL operation responses.
AbstractAsynchronousSQLDAO
Protected Properties
 PropertyDefined by
 Inheritedconnection : SQLConnection
Defines the SQLConnection instance from which all SQLStatements are executed against.
AbstractSQLDAO
  _responder : Responder
Defines the Responder instance which handles AbstractAsynchronousSQLDAO SQL operation responses.
AbstractAsynchronousSQLDAO
Public Methods
 MethodDefined by
  
AbstractAsynchronousSQLDAO(connection:SQLConnection, databaseFile:File = null)
AbstractAsynchronousSQLDAO constructor requires the databasePath from which the database connection is made as well as an optional ISQLConnectionResponder for handling the connection response.
AbstractAsynchronousSQLDAO
  
execute(statement:SQLStatement, ... parameters):void
Convenience method which executes a prepared SQL statement against a local SQL Lite database
AbstractAsynchronousSQLDAO
 Inherited
getConnection():SQLConnection
Retrieves a reference to the SQLConnection instance in which the AbstractSQLDAO object is connected.
AbstractSQLDAO
Protected Methods
 MethodDefined by
 Inherited
applyStatementParameters(statement:SQLStatement, ... parameters):void
Convenience method which executes a prepares SQL statement for execution against a database
AbstractSQLDAO
 Inherited
close(event:SQLEvent):void
Handles a SQLEvent.CLOSE event which is dispatched when a SQLConnection.close() method call completes successfully
AbstractSQLDAO
 Inherited
openFault(event:SQLEvent):void
Handles a SQLEvent.OPEN event which is dispatched when a SQLConnection.open() method call fails.
AbstractSQLDAO
 Inherited
openResult(event:SQLEvent):void
Handles a SQLEvent.OPEN event which is dispatched when a SQLConnection.open() method call completes successfully.
AbstractSQLDAO
Property detail
_responderproperty
protected var _responder:Responder

Defines the Responder instance which handles AbstractAsynchronousSQLDAO SQL operation responses.

See also

flash.net.Responder
responderproperty 
responder:Responder  [read-write]

Retrieves a reference to the Responder instance which handles SQL operation responses.

Implementation
    public function get responder():Responder
    public function set responder(value:Responder):void
Constructor detail
AbstractAsynchronousSQLDAO()constructor
public function AbstractAsynchronousSQLDAO(connection:SQLConnection, databaseFile:File = null)

AbstractAsynchronousSQLDAO constructor requires the databasePath from which the database connection is made as well as an optional ISQLConnectionResponder for handling the connection response.

Parameters
connection:SQLConnection — path from which the database connection is made
 
databaseFile:File (default = null)
Method detail
execute()method
public function execute(statement:SQLStatement, ... parameters):void

Convenience method which executes a prepared SQL statement against a local SQL Lite database

Parameters
statement:SQLStatement
 
... parameters