Package | com.ericfeminella.sql.dao |
Class | public class AbstractSynchronizedSQLDAO |
Inheritance | AbstractSynchronizedSQLDAO ![]() |
AbstractSynchronizedSQLDAO
provides an abstraction of
a synchronized DAO SQL implementation.
Method | Defined by | ||
---|---|---|---|
AbstractSynchronizedSQLDAO(connection:SQLConnection, databaseFile:File = null)
AbstractSynchronizedSQLDAO constructor requires the
databasePath from which the database connection is to be made. | AbstractSynchronizedSQLDAO | ||
![]() |
getConnection():SQLConnection
Retrieves a reference to the
SQLConnection instance
in which the AbstractSQLDAO object is connected. | AbstractSQLDAO |
Method | Defined by | ||
---|---|---|---|
![]() |
applyStatementParameters(statement:SQLStatement, ... parameters):void
Convenience method which executes a prepares SQL statement for execution
against a database
| AbstractSQLDAO | |
![]() |
close(event:SQLEvent):void
Handles a
SQLEvent.CLOSE event which is dispatched
when a SQLConnection.close() method call completes
successfully
| AbstractSQLDAO | |
executeStatement(statement:SQLStatement, ... parameters):SQLResult
Convenience method which executes a prepared SQL statement against a local
SQL Lite database
| AbstractSynchronizedSQLDAO | ||
![]() |
openFault(event:SQLEvent):void
Handles a
SQLEvent.OPEN event which is dispatched
when a SQLConnection.open() method call fails. | AbstractSQLDAO | |
![]() |
openResult(event:SQLEvent):void
Handles a
SQLEvent.OPEN event which is dispatched
when a SQLConnection.open() method call completes
successfully. | AbstractSQLDAO |
AbstractSynchronizedSQLDAO | () | constructor |
public function AbstractSynchronizedSQLDAO(connection:SQLConnection, databaseFile:File = null)
AbstractSynchronizedSQLDAO
constructor requires the
databasePath from which the database connection is to be made.
connection:SQLConnection — from which the SQLConnection is to be based
|
|
databaseFile:File (default = null )
|
executeStatement | () | method |
protected function executeStatement(statement:SQLStatement, ... parameters):SQLResult
Convenience method which executes a prepared SQL statement against a local SQL Lite database
Parametersstatement:SQLStatement — instance which is to be executed
|
|
... parameters — which are to be applied to the statement
|
SQLResult |