public class ExtensionsDao extends BaseDaoImpl<Extensions,Void>
Dao.CreateOrUpdateStatusconnectionSource, databaseType, dataClass, lastIterator, objectFactory, statementExecutor, tableConfig, tableInfo| Constructor and Description |
|---|
ExtensionsDao(ConnectionSource connectionSource,
Class<Extensions> dataClass)
Constructor, required by ORMLite
|
| Modifier and Type | Method and Description |
|---|---|
int |
delete(Extensions extensions)
Delete using the unique columns
|
int |
deleteAll()
Delete all extensions
|
int |
deleteByExtension(String extensionName)
Delete by extension name
|
int |
deleteByExtension(String extensionName,
String tableName)
Delete by extension name and table name
|
int |
deleteByExtension(String extensionName,
String tableName,
String columnName)
Delete by extension name, table name, and column name
|
int |
deleteByTableName(String tableName)
Delete by table name
|
List<Extensions> |
queryByExtension(String extensionName)
Query by extension name
|
List<Extensions> |
queryByExtension(String extensionName,
String tableName)
Query by extension name and table name
|
Extensions |
queryByExtension(String extensionName,
String tableName,
String columnName)
Query by extension name, table name, and column name
|
int |
update(Extensions extensions)
Update using the unique columns
|
assignEmptyForeignCollection, callBatchTasks, checkForInitialized, clearAllInternalObjectCaches, clearObjectCache, closeableIterator, closeLastIterator, commit, countOf, countOf, create, createIfNotExists, createOrUpdate, delete, delete, deleteBuilder, deleteById, deleteIds, endThreadConnection, executeRaw, executeRawNoArgs, extractId, findForeignFieldType, getConnectionSource, getDataClass, getEmptyForeignCollection, getObjectCache, getObjectFactory, getRawRowMapper, getSelectStarRowMapper, getTableConfig, getTableInfo, getWrappedIterable, getWrappedIterable, idExists, initialize, isAutoCommit, isAutoCommit, isTableExists, isUpdatable, iterator, iterator, iterator, iterator, mapSelectStarRow, objectsEqual, objectToString, query, queryBuilder, queryForAll, queryForEq, queryForFieldValues, queryForFieldValuesArgs, queryForFirst, queryForId, queryForMatching, queryForMatchingArgs, queryForSameId, queryRaw, queryRaw, queryRaw, queryRaw, queryRawValue, refresh, rollBack, setAutoCommit, setAutoCommit, setConnectionSource, setObjectCache, setObjectCache, setObjectFactory, setTableConfig, startThreadConnection, update, updateBuilder, updateId, updateRawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ExtensionsDao(ConnectionSource connectionSource, Class<Extensions> dataClass) throws SQLException
connectionSource - dataClass - SQLExceptionpublic int update(Extensions extensions) throws SQLException
update in interface Dao<Extensions,Void>update in class BaseDaoImpl<Extensions,Void>SQLExceptionpublic int delete(Extensions extensions) throws SQLException
delete in interface Dao<Extensions,Void>delete in class BaseDaoImpl<Extensions,Void>SQLExceptionpublic int deleteByExtension(String extensionName) throws SQLException
extensionName - SQLExceptionpublic int deleteByExtension(String extensionName, String tableName) throws SQLException
extensionName - tableName - SQLExceptionpublic int deleteByExtension(String extensionName, String tableName, String columnName) throws SQLException
extensionName - tableName - columnName - SQLExceptionpublic int deleteByTableName(String tableName) throws SQLException
tableName - SQLExceptionpublic int deleteAll()
throws SQLException
SQLExceptionpublic List<Extensions> queryByExtension(String extensionName) throws SQLException
extensionName - SQLExceptionpublic List<Extensions> queryByExtension(String extensionName, String tableName) throws SQLException
extensionName - tableName - SQLExceptionpublic Extensions queryByExtension(String extensionName, String tableName, String columnName) throws SQLException
extensionName - tableName - columnName - SQLExceptionCopyright © 2016 National Geospatial-Intelligence Agency. All rights reserved.