| Constructor and Description |
|---|
MetadataDao(com.j256.ormlite.support.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(com.j256.ormlite.stmt.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(com.j256.ormlite.support.ConnectionSource connectionSource,
Class<Metadata> dataClass)
throws SQLException
connectionSource - connection sourcedataClass - data classSQLException - upon failurepublic int deleteCascade(Metadata metadata) throws SQLException
metadata - metadataSQLException - upon failurepublic int deleteCascade(Collection<Metadata> metadataCollection) throws SQLException
metadataCollection - metadata collectionSQLException - upon failurepublic int deleteCascade(com.j256.ormlite.stmt.PreparedQuery<Metadata> preparedDelete) throws SQLException
preparedDelete - prepared delete querySQLException - upon failurepublic int deleteByIdCascade(Long id) throws SQLException
id - idSQLException - upon failurepublic int deleteIdsCascade(Collection<Long> idCollection) throws SQLException
idCollection - id collectionSQLException - upon failureCopyright © 2018 National Geospatial-Intelligence Agency. All rights reserved.