Index
All Classes and Interfaces|All Packages
A
- afterQuery(Map<String, ? extends Object>, Connection) - Method in class com.aoapps.dao.dbc.QueryReport
-
Called in try/finally after the query is executed, this may release any temp tables or views that were setup by
QueryReport.beforeQuery(java.util.Map, java.sql.Connection)
.
B
- beforeQuery(Map<String, ? extends Object>, Connection) - Method in class com.aoapps.dao.dbc.QueryReport
-
Called before the query is executed, this may setup any temp tables or views that are required by the main query.
C
- com.aoapps.dao.dbc - module com.aoapps.dao.dbc
- com.aoapps.dao.dbc - package com.aoapps.dao.dbc
D
- DatabaseModel - Class in com.aoapps.dao.dbc
-
A base implementation of
DaoDatabase
. - DatabaseModel() - Constructor for class com.aoapps.dao.dbc.DatabaseModel
E
- executeReport(Map<String, ? extends Object>) - Method in class com.aoapps.dao.dbc.QueryReport
- executeTransaction(DatabaseCallable<V>) - Method in class com.aoapps.dao.dbc.DatabaseModel
-
Deprecated, for removal: This API element is subject to removal in a future version.
- executeTransaction(DatabaseRunnable) - Method in class com.aoapps.dao.dbc.DatabaseModel
-
Deprecated, for removal: This API element is subject to removal in a future version.
G
- getAlignment() - Method in class com.aoapps.dao.dbc.QueryReport.QueryColumn
- getColumnLabel(QueryReport.QueryColumn) - Method in class com.aoapps.dao.dbc.QueryReport
-
Gets the label for the provided column.
- getColumns() - Method in class com.aoapps.dao.dbc.QueryReport.ReportResult
- getDatabase() - Method in class com.aoapps.dao.dbc.DatabaseModel
-
Gets the underlying database that should be used at this moment in time.
- getDescription(Map<String, ? extends Object>) - Method in class com.aoapps.dao.dbc.QueryReport
-
Defaults to calling getDescription().
- getLabel() - Method in class com.aoapps.dao.dbc.QueryReport.QueryColumn
-
Gets the label from the report.
- getName() - Method in class com.aoapps.dao.dbc.QueryReport
- getName() - Method in class com.aoapps.dao.dbc.QueryReport.QueryColumn
- getParameters() - Method in class com.aoapps.dao.dbc.QueryReport
-
Get default, no parameters are required.
- getTableData() - Method in class com.aoapps.dao.dbc.QueryReport.ReportResult
- getTitle(Map<String, ? extends Object>) - Method in class com.aoapps.dao.dbc.QueryReport
-
Defaults to calling getTitle().
I
- isReadOnly() - Method in class com.aoapps.dao.dbc.QueryReport
-
Checks if this is a read-only report.
Q
- QueryReport - Class in com.aoapps.dao.dbc
-
A report that is obtained from a SQL query database.
- QueryReport(Database, String, String, Object...) - Constructor for class com.aoapps.dao.dbc.QueryReport
-
Construct a new query report.
- QueryReport(Database, String, String, Collection<?>) - Constructor for class com.aoapps.dao.dbc.QueryReport
-
Construct a new query report.
- QueryReport.QueryColumn - Class in com.aoapps.dao.dbc
-
A column obtained from a database query.
- QueryReport.ReportResult - Class in com.aoapps.dao.dbc
-
A result obtained from a database query.
T
- transactionCall(DatabaseCallable<? extends V>) - Method in class com.aoapps.dao.dbc.DatabaseModel
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionCall(CallableE<? extends V, ? extends SQLException>) - Method in class com.aoapps.dao.dbc.DatabaseModel
- transactionCall(Class<? extends Ex>, DatabaseCallableE<? extends V, ? extends Ex>) - Method in class com.aoapps.dao.dbc.DatabaseModel
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionCall(Class<? extends Ex>, CallableE<? extends V, ? extends Ex>) - Method in class com.aoapps.dao.dbc.DatabaseModel
- transactionDatabase - Variable in class com.aoapps.dao.dbc.DatabaseModel
-
Uses a
ThreadLocal
to make sure an entire transaction is executed against the same underlying database. - transactionRun(DatabaseRunnable) - Method in class com.aoapps.dao.dbc.DatabaseModel
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionRun(RunnableE<? extends SQLException>) - Method in class com.aoapps.dao.dbc.DatabaseModel
- transactionRun(Class<? extends Ex>, DatabaseRunnableE<? extends Ex>) - Method in class com.aoapps.dao.dbc.DatabaseModel
-
Executes an arbitrary transaction, providing automatic commit, rollback, and connection management.
- transactionRun(Class<? extends Ex>, RunnableE<? extends Ex>) - Method in class com.aoapps.dao.dbc.DatabaseModel
All Classes and Interfaces|All Packages
transactionCall(com.aoapps.dbc.DatabaseCallable)