Uses of Interface
org.geotools.api.data.Transaction
-
Packages that use Transaction Package Description org.geotools.api.data Defines the DataStore API via which all data is imported or exported.org.geotools.coverage.grid.io org.geotools.coverage.io.catalog org.geotools.data org.geotools.data.complex This package contains the implementation of a ComplexDataStore,org.geotools.data.complex.spi org.geotools.data.csv org.geotools.data.directory org.geotools.data.gen org.geotools.data.geojson.store org.geotools.data.jdbc org.geotools.data.joining org.geotools.data.memory org.geotools.data.mongodb org.geotools.data.mongodb.complex org.geotools.data.property org.geotools.data.shapefile org.geotools.data.store org.geotools.data.transform org.geotools.data.vpf org.geotools.data.wfs org.geotools.gce.imagemosaic org.geotools.gce.imagemosaic.catalog org.geotools.gce.imagemosaic.catalog.oracle org.geotools.geopkg org.geotools.jdbc -
-
Uses of Transaction in org.geotools.api.data
Fields in org.geotools.api.data declared as Transaction Modifier and Type Field Description static Transaction
Transaction. AUTO_COMMIT
Represents AUTO_COMMIT mode as opposed to operations with commit/rollback control under a user-supplied transaction.Methods in org.geotools.api.data that return Transaction Modifier and Type Method Description Transaction
FeatureStore. getTransaction()
Gets theTransaction
that thisFeatureStore
is currently operating against.Methods in org.geotools.api.data with parameters of type Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>
DataStore. getFeatureReader(Query query, Transaction transaction)
Gets aFeatureReader
for features selected by the givenQuery
.FeatureWriter<SimpleFeatureType,SimpleFeature>
DataStore. getFeatureWriter(String typeName, Transaction transaction)
Gets aFeatureWriter
to modify features in thisDataStore
.FeatureWriter<SimpleFeatureType,SimpleFeature>
DataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)
Gets aFeatureWriter
to modify features in thisDataStore
.FeatureWriter<SimpleFeatureType,SimpleFeature>
FileDataStore. getFeatureWriter(Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
FileDataStore. getFeatureWriter(Filter filter, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
DataStore. getFeatureWriterAppend(String typeName, Transaction transaction)
Gets aFeatureWriter
that can add new features to theDataStore
.FeatureWriter<SimpleFeatureType,SimpleFeature>
FileDataStore. getFeatureWriterAppend(Transaction transaction)
void
LockingManager. lockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock)
FeatureID based locking.boolean
LockingManager. refresh(String authID, Transaction transaction)
Refresh locks held by the authorizationlockID
.boolean
LockingManager. release(String authID, Transaction transaction)
Release locks held by the authorizationlockID
.void
FeatureStore. setTransaction(Transaction transaction)
Provide a transaction for commit/rollback control of a modifying operation on thisFeatureStore
.void
Transaction.State. setTransaction(Transaction transaction)
Provides configuration information for Transaction.Statevoid
LockingManager. unLockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock)
FeatureID based unlocking. -
Uses of Transaction in org.geotools.coverage.grid.io
Methods in org.geotools.coverage.grid.io that return Transaction Modifier and Type Method Description Transaction
GranuleStore. getTransaction()
Gets theTransaction
that thisGranuleStore
is currently operating against.Transaction
RenamingGranuleStore. getTransaction()
Methods in org.geotools.coverage.grid.io with parameters of type Transaction Modifier and Type Method Description void
GranuleStore. setTransaction(Transaction transaction)
Provide a transaction for commit/rollback control of a modifying operation on thisGranuleStore
.void
RenamingGranuleStore. setTransaction(Transaction transaction)
-
Uses of Transaction in org.geotools.coverage.io.catalog
Methods in org.geotools.coverage.io.catalog with parameters of type Transaction Modifier and Type Method Description void
CoverageSlicesCatalog. addGranule(String typeName, SimpleFeature granule, Transaction transaction)
void
CoverageSlicesCatalog. addGranules(String typeName, SimpleFeatureCollection granules, Transaction transaction)
void
CoverageSlicesCatalog. removeGranules(String typeName, Filter filter, Transaction transaction)
void
CoverageSlicesCatalog.WrappedCoverageSlicesCatalog. removeGranules(String typeName, Filter filter, Transaction transaction)
-
Uses of Transaction in org.geotools.data
Classes in org.geotools.data that implement Transaction Modifier and Type Class Description class
DefaultTransaction
Quick implementation of Transaction api.Methods in org.geotools.data that return Transaction Modifier and Type Method Description protected Transaction
DefaultFeatureResults. getTransaction()
Returns transaction from SimpleFeatureSource (if it is a FeatureStore), or Transaction.AUTO_COMMIT if it is not.Methods in org.geotools.data with parameters of type Transaction Modifier and Type Method Description void
InProcessLockingManager. assertAccess(String typeName, String featureID, Transaction transaction)
Checks mutability of featureID for this transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>
InProcessLockingManager. checkedWriter(FeatureWriter<SimpleFeatureType,SimpleFeature> writer, Transaction transaction)
Provides a wrapper on the provided writer that checks locks.protected InProcessLockingManager.Lock
InProcessLockingManager. createLock(Transaction transaction, FeatureLock featureLock)
Creates the right sort of In-Process Lock.void
FeatureListenerManager. fireChanged(String typeName, Transaction transaction, boolean commit)
Notify all listeners that have registered interest for notification on this event type.void
FeatureListenerManager. fireEvent(String typeName, Transaction transaction, FeatureEvent event)
Provided event will be used as a template for notifying all FeatureSources for the provided typeName.void
FeatureListenerManager. fireFeaturesAdded(String typeName, Transaction transaction, ReferencedEnvelope bounds, boolean commit)
Notify all listeners that have registered interest for notification on this event type.void
FeatureListenerManager. fireFeaturesChanged(String typeName, Transaction transaction, ReferencedEnvelope bounds, boolean commit)
Notify all listeners that have registered interest for notification on this event type.void
FeatureListenerManager. fireFeaturesRemoved(String typeName, Transaction transaction, ReferencedEnvelope bounds, boolean commit)
Notify all listeners that have registered interest for notification on this event type.boolean
InProcessLockingManager.Lock. isAuthorized(Transaction transaction)
Check if transaction is authorized for this lockvoid
InProcessLockingManager. lockFeatureID(String typeName, String featureID, Transaction transaction, FeatureLock featureLock)
Aquire lock on featureID.boolean
DefaultRepository. lockRefresh(String lockID, Transaction transaction)
Implement lockRefresh.boolean
DefaultRepository. lockRelease(String lockID, Transaction transaction)
Implement lockRelease.boolean
InProcessLockingManager. refresh(String authID, Transaction transaction)
Refresh locks held by the authorizationauthID
.boolean
InProcessLockingManager. release(String authID, Transaction transaction)
Release locks held by the authorizationauthID
.void
InProcessLockingManager. unLockFeatureID(String typeName, String featureID, Transaction transaction, FeatureLock featureLock)
Release indicated featureID, must have correct authroization. -
Uses of Transaction in org.geotools.data.complex
Fields in org.geotools.data.complex declared as Transaction Modifier and Type Field Description protected Transaction
AbstractMappingFeatureIterator. transaction
protected Transaction
IndexedMappingFeatureIterator. transaction
protected Transaction
IndexedMappingFeatureIteratorFactory. transaction
Methods in org.geotools.data.complex that return Transaction Modifier and Type Method Description Transaction
AbstractMappingFeatureIterator. getTransaction()
Methods in org.geotools.data.complex with parameters of type Transaction Modifier and Type Method Description FeatureIterator<Feature>
MappingFeatureCollection. features(Transaction transaction)
This overload allows client code to explicitly specify the transaction that the created iterator will be working against.static IMappingFeatureIterator
MappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction)
static IMappingFeatureIterator
MappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, boolean indexEnable)
-
Uses of Transaction in org.geotools.data.complex.spi
Methods in org.geotools.data.complex.spi with parameters of type Transaction Modifier and Type Method Description DataAccessMappingFeatureIterator
CustomSourceDataStore. buildIterator(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction)
Allows a data store to build its own iterator that will be used by App-Schema core to retrieve the necessary attributes from the data store to build the mapped feature types. -
Uses of Transaction in org.geotools.data.csv
Methods in org.geotools.data.csv that return Transaction Modifier and Type Method Description Transaction
CSVFeatureStore. getTransaction()
Methods in org.geotools.data.csv with parameters of type Transaction Modifier and Type Method Description FeatureWriter<SimpleFeatureType,SimpleFeature>
CSVDataStore. getFeatureWriter(Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
CSVDataStore. getFeatureWriter(Filter filter, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
CSVDataStore. getFeatureWriterAppend(Transaction transaction)
void
CSVFeatureStore. setTransaction(Transaction transaction)
-
Uses of Transaction in org.geotools.data.directory
Methods in org.geotools.data.directory that return Transaction Modifier and Type Method Description Transaction
DirectoryFeatureStore. getTransaction()
Methods in org.geotools.data.directory with parameters of type Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>
DirectoryDataStore. getFeatureReader(Query query, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
DirectoryDataStore. getFeatureWriter(String typeName, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
DirectoryDataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
DirectoryDataStore. getFeatureWriterAppend(String typeName, Transaction transaction)
void
DirectoryLockingManager. lockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock)
boolean
DirectoryLockingManager. refresh(String authID, Transaction transaction)
boolean
DirectoryLockingManager. release(String authID, Transaction transaction)
void
DirectoryFeatureStore. setTransaction(Transaction transaction)
void
DirectoryLockingManager. unLockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock)
-
Uses of Transaction in org.geotools.data.gen
Methods in org.geotools.data.gen with parameters of type Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>
PreGeneralizedDataStore. getFeatureReader(Query query, Transaction transaction)
FeatureReader<SimpleFeatureType,SimpleFeature>
PreGeneralizedFeatureSource. getFeatureReader(Query query, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
PreGeneralizedDataStore. getFeatureWriter(String typeName, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
PreGeneralizedDataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
PreGeneralizedDataStore. getFeatureWriterAppend(String typeName, Transaction transaction)
-
Uses of Transaction in org.geotools.data.geojson.store
Methods in org.geotools.data.geojson.store that return Transaction Modifier and Type Method Description Transaction
GeoJSONFeatureStore. getTransaction()
Methods in org.geotools.data.geojson.store with parameters of type Transaction Modifier and Type Method Description FeatureWriter<SimpleFeatureType,SimpleFeature>
GeoJSONDataStore. getFeatureWriter(Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
GeoJSONDataStore. getFeatureWriter(Filter filter, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
GeoJSONDataStore. getFeatureWriterAppend(Transaction transaction)
void
GeoJSONFeatureStore. setTransaction(Transaction transaction)
-
Uses of Transaction in org.geotools.data.jdbc
Methods in org.geotools.data.jdbc with parameters of type Transaction Modifier and Type Method Description static void
JDBCUtils. close(Connection conn, Transaction transaction, SQLException sqlException)
A utility method for closing a Connection. -
Uses of Transaction in org.geotools.data.joining
Methods in org.geotools.data.joining with parameters of type Transaction Modifier and Type Method Description DataAccessMappingFeatureIterator
JoiningNestedAttributeMapping. initSourceFeatures(JoiningNestedAttributeMapping.Instance instance, Name featureTypeName, CoordinateReferenceSystem reprojection, List<PropertyName> selectedProperties, boolean includeMandatory, int resolveDepth, Integer resolveTimeOut, Transaction transaction)
Initialise a new iterator (for polymorphism, there could be multiple per instance) -
Uses of Transaction in org.geotools.data.memory
Methods in org.geotools.data.memory with parameters of type Transaction Modifier and Type Method Description void
CollectionSource. setTransaction(Transaction t)
void
MemoryFeatureStore. setTransaction(Transaction transaction)
-
Uses of Transaction in org.geotools.data.mongodb
Methods in org.geotools.data.mongodb with parameters of type Transaction Modifier and Type Method Description FeatureWriter<SimpleFeatureType,SimpleFeature>
MongoDataStore. getFeatureWriter(String typeName, Filter filter, Transaction tx)
-
Uses of Transaction in org.geotools.data.mongodb.complex
Methods in org.geotools.data.mongodb.complex with parameters of type Transaction Modifier and Type Method Description DataAccessMappingFeatureIterator
MongoComplexDataSource. buildIterator(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction)
-
Uses of Transaction in org.geotools.data.property
Methods in org.geotools.data.property that return Transaction Modifier and Type Method Description Transaction
PropertyFeatureStore. getTransaction()
Methods in org.geotools.data.property with parameters of type Transaction Modifier and Type Method Description void
PropertyFeatureStore. setTransaction(Transaction transaction)
-
Uses of Transaction in org.geotools.data.shapefile
Methods in org.geotools.data.shapefile with parameters of type Transaction Modifier and Type Method Description FeatureWriter<SimpleFeatureType,SimpleFeature>
ShapefileDataStore. getFeatureWriter(Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
ShapefileDataStore. getFeatureWriter(Filter filter, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
ShapefileDataStore. getFeatureWriterAppend(Transaction transaction)
-
Uses of Transaction in org.geotools.data.store
Fields in org.geotools.data.store declared as Transaction Modifier and Type Field Description protected Transaction
ContentFeatureSource. transaction
The transaction to work from, use {linkContentEntry.getState(Transaction)
to access shared state in common to ContentFeatureSource and ContentFeatureStore working on this Transaction.protected Transaction
DiffTransactionState. transaction
The transaction (ie session) associated with this stateprotected Transaction
ContentState. tx
Transaction the state works from.Methods in org.geotools.data.store that return Transaction Modifier and Type Method Description Transaction
ContentFeatureSource. getTransaction()
The current transaction the feature source is working against.Transaction
ContentState. getTransaction()
The transaction associated with the state.Methods in org.geotools.data.store with parameters of type Transaction Modifier and Type Method Description void
ContentEntry. clearTransaction(Transaction transaction)
Removes a closed transaction from the state cache.protected ContentFeatureStore
ContentDataStore. ensureFeatureStore(String typeName, Transaction tx)
Helper method which gets a feature source ensuring that it is a feature store as well.FeatureReader<SimpleFeatureType,SimpleFeature>
ContentDataStore. getFeatureReader(Query query, Transaction tx)
Returns a feature reader for the specified query and transaction.FeatureReader<SimpleFeatureType,SimpleFeature>
DecoratingDataStore. getFeatureReader(Query query, Transaction transaction)
ContentFeatureSource
ContentDataStore. getFeatureSource(String typeName, Transaction tx)
Returns the feature source matching the specified name and explicitly specifies a transaction.ContentFeatureSource
ContentDataStore. getFeatureSource(Name typeName, Transaction tx)
Returns the feature source matching the specified name and explicitly specifies a transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>
ContentDataStore. getFeatureWriter(String typeName, Transaction tx)
Returns a feature writer for the specified type name and transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>
ContentDataStore. getFeatureWriter(String typeName, Filter filter, Transaction tx)
Returns a feature writer for the specified query and transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>
DecoratingDataStore. getFeatureWriter(String typeName, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
DecoratingDataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
ContentDataStore. getFeatureWriterAppend(String typeName, Transaction tx)
Returns an appending feature writer for the specified type name and transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>
DecoratingDataStore. getFeatureWriterAppend(String typeName, Transaction transaction)
ContentState
ContentEntry. getState(Transaction transaction)
Returns state for the entry for a particular transaction.void
ContentFeatureSource. setTransaction(Transaction transaction)
Sets the current transaction the feature source is working against.void
ContentState. setTransaction(Transaction tx)
Sets the transaction associated with the state.void
DiffTransactionState. setTransaction(Transaction transaction)
-
Uses of Transaction in org.geotools.data.transform
Methods in org.geotools.data.transform that return Transaction Modifier and Type Method Description Transaction
TransformFeatureStore. getTransaction()
Methods in org.geotools.data.transform with parameters of type Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>
SingleFeatureSourceDataStore. getFeatureReader(Query query, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
SingleFeatureSourceDataStore. getFeatureWriter(String typeName, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
SingleFeatureSourceDataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
SingleFeatureSourceDataStore. getFeatureWriterAppend(String typeName, Transaction transaction)
void
TransformFeatureStore. setTransaction(Transaction transaction)
-
Uses of Transaction in org.geotools.data.vpf
Methods in org.geotools.data.vpf with parameters of type Transaction Modifier and Type Method Description ContentFeatureSource
VPFLibrary. getFeatureSource(Name typeName, Transaction tx)
-
Uses of Transaction in org.geotools.data.wfs
Methods in org.geotools.data.wfs with parameters of type Transaction Modifier and Type Method Description void
WFSContentState. setTransaction(Transaction tx)
Sets the transaction associated with the state. -
Uses of Transaction in org.geotools.gce.imagemosaic
Methods in org.geotools.gce.imagemosaic with parameters of type Transaction Modifier and Type Method Description void
RasterManager. initialize(boolean checkDomains, Transaction transaction)
-
Uses of Transaction in org.geotools.gce.imagemosaic.catalog
Methods in org.geotools.gce.imagemosaic.catalog that return Transaction Modifier and Type Method Description Transaction
GranuleCatalogStore. getTransaction()
Methods in org.geotools.gce.imagemosaic.catalog with parameters of type Transaction Modifier and Type Method Description void
GranuleCatalog. addGranule(String typeName, SimpleFeature granule, Transaction transaction)
void
LockingGranuleCatalog. addGranule(String typeName, SimpleFeature granule, Transaction transaction)
void
QueryCacheGranuleCatalog. addGranule(String typeName, SimpleFeature granule, Transaction transaction)
abstract void
GranuleCatalog. addGranules(String typeName, Collection<SimpleFeature> granules, Transaction transaction)
void
LockingGranuleCatalog. addGranules(String typeName, Collection<SimpleFeature> granules, Transaction transaction)
void
QueryCacheGranuleCatalog. addGranules(String typeName, Collection<SimpleFeature> granules, Transaction transaction)
BoundingBox
GranuleCatalog. getBounds(String typeName, Transaction t)
BoundingBox
LockingGranuleCatalog. getBounds(String typeName, Transaction t)
SimpleFeatureCollection
CachingDataStoreGranuleCatalog. getGranules(Query q, Transaction t)
SimpleFeatureCollection
GranuleCatalog. getGranules(Query q, Transaction t)
SimpleFeatureCollection
LockingGranuleCatalog. getGranules(Query q, Transaction t)
SimpleFeatureCollection
QueryCacheGranuleCatalog. getGranules(Query q, Transaction t)
int
CachingDataStoreGranuleCatalog. removeGranules(Query query, Transaction transaction)
int
GranuleCatalog. removeGranules(Query query, Transaction transaction)
int
LockingGranuleCatalog. removeGranules(Query query, Transaction transaction)
int
QueryCacheGranuleCatalog. removeGranules(Query query, Transaction transaction)
void
GranuleCatalogStore. setTransaction(Transaction transaction)
-
Uses of Transaction in org.geotools.gce.imagemosaic.catalog.oracle
Methods in org.geotools.gce.imagemosaic.catalog.oracle with parameters of type Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>
DataStoreWrapper. getFeatureReader(Query query, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
DataStoreWrapper. getFeatureWriter(String typeName, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
DataStoreWrapper. getFeatureWriter(String typeName, Filter filter, Transaction transaction)
FeatureWriter<SimpleFeatureType,SimpleFeature>
DataStoreWrapper. getFeatureWriterAppend(String typeName, Transaction transaction)
-
Uses of Transaction in org.geotools.geopkg
Methods in org.geotools.geopkg with parameters of type Transaction Modifier and Type Method Description SimpleFeatureReader
GeoPackage. reader(FeatureEntry entry, Filter filter, Transaction tx)
Returns a reader for the contents of a feature dataset.SimpleFeatureWriter
GeoPackage. writer(FeatureEntry entry, boolean append, Filter filter, Transaction tx)
Returns a writer used to modify or add to the contents of a feature dataset. -
Uses of Transaction in org.geotools.jdbc
Fields in org.geotools.jdbc declared as Transaction Modifier and Type Field Description protected Transaction
JDBCFeatureReader. tx
current transactionMethods in org.geotools.jdbc that return Transaction Modifier and Type Method Description Transaction
JDBCDataStore. buildTransaction(Connection cx)
Builds a transaction object around a user provided connection.Transaction
JDBCFeatureStore. getTransaction()
Methods in org.geotools.jdbc with parameters of type Transaction Modifier and Type Method Description protected void
JDBCDataStore. ensureAuthorization(SimpleFeatureType featureType, Filter filter, Transaction tx, Connection cx)
Ensures that that the specified transaction has access to features specified by a filter.Connection
JDBCDataStore. getConnection(Transaction t)
Returns a JDBC Connection to the underlying database for the specified GeoToolsTransaction
.void
JDBCFeatureStore. setTransaction(Transaction transaction)
-