Package | com.ericfeminella.sql.dao |
Class | public class AbstractAsynchronousSQLDAO |
Inheritance | AbstractAsynchronousSQLDAO ![]() |
AbstractAsynchronousSQLDAO
provides an abstraction of
an asynchronous SQL DAO implementation.
Property | Defined by | ||
---|---|---|---|
responder : Responder
Retrieves a reference to the
Responder instance which
handles SQL operation responses. | AbstractAsynchronousSQLDAO |
Property | Defined by | ||
---|---|---|---|
![]() | connection : 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 |
Method | Defined 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 | ||
![]() |
getConnection():SQLConnection
Retrieves a reference to the
SQLConnection instance
in which the AbstractSQLDAO object is connected. | AbstractSQLDAO |
_responder | property |
protected var _responder:Responder
Defines the Responder
instance which handles
AbstractAsynchronousSQLDAO
SQL operation responses.
See also
responder | property |
responder:Responder
[read-write]
Retrieves a reference to the Responder
instance which
handles SQL operation responses.
public function get responder():Responder
public function set responder(value:Responder):void
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.
connection:SQLConnection — path from which the database connection is made
|
|
databaseFile:File (default = null )
|
execute | () | method |
public function execute(statement:SQLStatement, ... parameters):void
Convenience method which executes a prepared SQL statement against a local SQL Lite database
Parametersstatement:SQLStatement |
|
... parameters |