public class DataColumnConstraintsDao extends com.j256.ormlite.dao.BaseDaoImpl<DataColumnConstraints,Void>
| Constructor and Description |
|---|
DataColumnConstraintsDao(com.j256.ormlite.support.ConnectionSource connectionSource,
Class<DataColumnConstraints> dataClass)
Constructor, required by ORMLite
|
| Modifier and Type | Method and Description |
|---|---|
int |
delete(DataColumnConstraints dataColumnConstraints)
Delete using the unique columns
|
int |
deleteCascade(Collection<DataColumnConstraints> constraintsCollection)
Delete the collection of Data Column Constraints, cascading
|
int |
deleteCascade(DataColumnConstraints constraints)
Delete the Data Columns Constraints, cascading
|
int |
deleteCascade(com.j256.ormlite.stmt.PreparedQuery<DataColumnConstraints> preparedDelete)
Delete the Data Column Constraints matching the prepared query, cascading
|
List<DataColumnConstraints> |
queryByConstraintName(String constraintName)
Query by the constraint name
|
DataColumnConstraints |
queryByUnique(String constraintName,
DataColumnConstraintType constraintType,
String value)
Query by the unique column values
|
int |
update(DataColumnConstraints dataColumnConstraints)
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 DataColumnConstraintsDao(com.j256.ormlite.support.ConnectionSource connectionSource,
Class<DataColumnConstraints> dataClass)
throws SQLException
connectionSource - dataClass - SQLExceptionpublic int deleteCascade(DataColumnConstraints constraints) throws SQLException
constraints - SQLExceptionpublic int deleteCascade(Collection<DataColumnConstraints> constraintsCollection) throws SQLException
constraintsCollection - SQLExceptionpublic int deleteCascade(com.j256.ormlite.stmt.PreparedQuery<DataColumnConstraints> preparedDelete) throws SQLException
preparedDelete - SQLExceptionpublic int update(DataColumnConstraints dataColumnConstraints) throws SQLException
update in interface com.j256.ormlite.dao.Dao<DataColumnConstraints,Void>update in class com.j256.ormlite.dao.BaseDaoImpl<DataColumnConstraints,Void>SQLExceptionpublic int delete(DataColumnConstraints dataColumnConstraints) throws SQLException
delete in interface com.j256.ormlite.dao.Dao<DataColumnConstraints,Void>delete in class com.j256.ormlite.dao.BaseDaoImpl<DataColumnConstraints,Void>SQLExceptionpublic List<DataColumnConstraints> queryByConstraintName(String constraintName) throws SQLException
constraintName - SQLExceptionpublic DataColumnConstraints queryByUnique(String constraintName, DataColumnConstraintType constraintType, String value) throws SQLException
constraintName - constraintType - value - SQLExceptionCopyright © 2015 National Geospatial-Intelligence Agency. All rights reserved.