public class MetadataDao extends BaseDaoImpl<Metadata,Long>
Dao.CreateOrUpdateStatus, Dao.DaoObserverconnectionSource, databaseType, dataClass, lastIterator, objectFactory, statementExecutor, tableConfig, tableInfo| Constructor and Description |
|---|
MetadataDao(ConnectionSource connectionSource,
Class<Metadata> dataClass)
Constructor, required by ORMLite
|
| Modifier and Type | Method and Description |
|---|---|
int |
deleteByIdCascade(Long id)
Delete a Metadata by id, cascading
|
int |
deleteCascade(Collection<Metadata> metadataCollection)
Delete the collection of Metadata, cascading
|
int |
deleteCascade(Metadata metadata)
Delete the Metadata, cascading
|
int |
deleteCascade(PreparedQuery<Metadata> preparedDelete)
Delete the Metadata matching the prepared query, cascading
|
int |
deleteIdsCascade(Collection<Long> idCollection)
Delete the Metadata with the provided ids, cascading
|
assignEmptyForeignCollection, callBatchTasks, checkForInitialized, clearAllInternalObjectCaches, clearObjectCache, closeableIterator, closeLastIterator, commit, countOf, countOf, create, create, createIfNotExists, createOrUpdate, delete, 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, update, updateBuilder, updateId, updateRawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic MetadataDao(ConnectionSource connectionSource, Class<Metadata> dataClass) throws SQLException
connectionSource - dataClass - SQLExceptionpublic int deleteCascade(Metadata metadata) throws SQLException
metadata - metadataSQLExceptionpublic int deleteCascade(Collection<Metadata> metadataCollection) throws SQLException
metadataCollection - metadata collectionSQLExceptionpublic int deleteCascade(PreparedQuery<Metadata> preparedDelete) throws SQLException
preparedDelete - prepared delete querySQLExceptionpublic int deleteByIdCascade(Long id) throws SQLException
id - idSQLExceptionpublic int deleteIdsCascade(Collection<Long> idCollection) throws SQLException
idCollection - id collectionSQLExceptionCopyright © 2018 National Geospatial-Intelligence Agency. All rights reserved.