public class ExtensionsDao extends BaseDaoImpl<Extensions,Void>
Dao.CreateOrUpdateStatus, Dao.DaoObserverconnectionSource, 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, create, createIfNotExists, createOrUpdate, delete, delete, deleteBuilder, deleteById, deleteIds, endThreadConnection, executeRaw, executeRawNoArgs, extractId, findForeignFieldType, getConnectionSource, getDataClass, getEmptyForeignCollection, getObjectCache, getObjectFactory, getRawRowMapper, getSelectStarRowMapper, getTableConfig, getTableInfo, getTableName, getWrappedIterable, getWrappedIterable, idExists, initialize, isAutoCommit, isTableExists, isUpdatable, iterator, iterator, iterator, iterator, mapSelectStarRow, notifyChanges, objectsEqual, objectToString, query, queryBuilder, queryForAll, queryForEq, queryForFieldValues, queryForFieldValuesArgs, queryForFirst, queryForId, queryForMatching, queryForMatchingArgs, queryForSameId, queryRaw, queryRaw, queryRaw, queryRaw, queryRaw, queryRawValue, refresh, registerObserver, rollBack, setAutoCommit, setConnectionSource, setObjectCache, setObjectCache, setObjectFactory, setTableConfig, startThreadConnection, unregisterObserver, update, updateBuilder, updateId, updateRawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ExtensionsDao(ConnectionSource connectionSource, Class<Extensions> dataClass) throws SQLException
connectionSource - connection sourcedataClass - data classSQLException - upon failurepublic 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 - extension nameSQLException - upon failurepublic int deleteByExtension(String extensionName, String tableName) throws SQLException
extensionName - extension nametableName - table nameSQLException - upon failurepublic int deleteByExtension(String extensionName, String tableName, String columnName) throws SQLException
extensionName - extension nametableName - table namecolumnName - column nameSQLException - upon failurepublic int deleteByTableName(String tableName) throws SQLException
tableName - table nameSQLException - upon failurepublic int deleteAll()
throws SQLException
SQLException - upon failurepublic List<Extensions> queryByExtension(String extensionName) throws SQLException
extensionName - extension nameSQLException - upon failurepublic List<Extensions> queryByExtension(String extensionName, String tableName) throws SQLException
extensionName - extension nametableName - table nameSQLException - upon failurepublic Extensions queryByExtension(String extensionName, String tableName, String columnName) throws SQLException
extensionName - extension nametableName - table namecolumnName - column nameSQLException - upon failureCopyright © 2020 National Geospatial-Intelligence Agency. All rights reserved.