public class SpatialReferenceSystemDao extends BaseDaoImpl<SpatialReferenceSystem,Long>
Dao.CreateOrUpdateStatusconnectionSource, databaseType, dataClass, lastIterator, objectFactory, statementExecutor, tableConfig, tableInfo| Constructor and Description |
|---|
SpatialReferenceSystemDao(ConnectionSource connectionSource,
Class<SpatialReferenceSystem> dataClass)
Constructor, required by ORMLite
|
| Modifier and Type | Method and Description |
|---|---|
SpatialReferenceSystem |
createUndefinedCartesian()
Creates the required Undefined Cartesian Spatial Reference System (spec
Requirement 11)
|
SpatialReferenceSystem |
createUndefinedGeographic()
Creates the required Undefined Geographic Spatial Reference System (spec
Requirement 11)
|
SpatialReferenceSystem |
createWebMercator()
Creates the Web Mercator Spatial Reference System if it does not already
exist
|
SpatialReferenceSystem |
createWgs84()
Creates the required EPSG WGS84 Spatial Reference System (spec
Requirement 11)
|
int |
deleteByIdCascade(Long id)
Delete a Spatial Reference System by id, cascading
|
int |
deleteCascade(Collection<SpatialReferenceSystem> srsCollection)
Delete the collection of Spatial Reference Systems, cascading
|
int |
deleteCascade(PreparedQuery<SpatialReferenceSystem> preparedDelete)
Delete the Spatial Reference Systems matching the prepared query,
cascading
|
int |
deleteCascade(SpatialReferenceSystem srs)
Delete the Spatial Reference System, cascading
|
int |
deleteIdsCascade(Collection<Long> idCollection)
Delete the Spatial Reference Systems with the provided ids, cascading
|
SpatialReferenceSystem |
getOrCreate(long srsId)
Get or Create the Spatial Reference System for the provided id
|
assignEmptyForeignCollection, callBatchTasks, checkForInitialized, clearAllInternalObjectCaches, clearObjectCache, closeableIterator, closeLastIterator, commit, countOf, countOf, create, createIfNotExists, createOrUpdate, delete, 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, update, updateBuilder, updateId, updateRawclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic SpatialReferenceSystemDao(ConnectionSource connectionSource, Class<SpatialReferenceSystem> dataClass) throws SQLException
connectionSource - dataClass - SQLExceptionpublic SpatialReferenceSystem createWgs84() throws SQLException
SQLExceptionpublic SpatialReferenceSystem createUndefinedCartesian() throws SQLException
SQLExceptionpublic SpatialReferenceSystem createUndefinedGeographic() throws SQLException
SQLExceptionpublic SpatialReferenceSystem createWebMercator() throws SQLException
SQLExceptionpublic SpatialReferenceSystem getOrCreate(long srsId) throws SQLException
context - srsId - SQLExceptionpublic int deleteCascade(SpatialReferenceSystem srs) throws SQLException
srs - SQLExceptionpublic int deleteCascade(Collection<SpatialReferenceSystem> srsCollection) throws SQLException
srsCollection - SQLExceptionpublic int deleteCascade(PreparedQuery<SpatialReferenceSystem> preparedDelete) throws SQLException
preparedDelete - SQLExceptionpublic int deleteByIdCascade(Long id) throws SQLException
id - SQLExceptionpublic int deleteIdsCascade(Collection<Long> idCollection) throws SQLException
idCollection - SQLExceptionCopyright © 2016 National Geospatial-Intelligence Agency. All rights reserved.