Simple data access objects framework API.
For questions or support, please contact us:
Email: support@aoindustries.com
Phone: 1-800-519-9541
Phone: +1-251-607-9556
Web: https://aoindustries.com/contact
public interface Model
| Modifier and Type | Method and Description |
|---|---|
default void |
clearAllCaches()
Clears all caches for all tables for the current thread.
|
void |
executeTransaction(Runnable runnable)
Executes a transaction between any number of calls to this model and its tables.
|
Collator |
getCollator()
Gets the collator used by this model.
|
String |
getName()
Gets the name of this model.
|
default Map<String,? extends Report> |
getReports()
Gets the set of all reports that are supported by this repository implementation, keyed on its unique name.
|
Map<String,? extends Table<?,?>> |
getTables()
Gets the set of all tables in this model.
|
String getName()
Collator getCollator()
Map<String,? extends Table<?,?>> getTables()
default void clearAllCaches()
void executeTransaction(Runnable runnable) throws SQLException
SQLExceptiondefault Map<String,? extends Report> getReports() throws SQLException
SQLExceptionCopyright © 2011–2016 AO Industries, Inc.. All rights reserved.