| java.lang.Object org.geotools.data.jdbc.JDBCTransactionState org.geotools.data.postgis.VersionedJdbcTransactionState
VersionedJdbcTransactionState | class VersionedJdbcTransactionState extends JDBCTransactionState (Code) | | JDBC Transaction state that holds current revision, modified bounding box and the list of dirty
feature types. On commit, these are update on the db.
author: aaime since: 2.4 |
Field Summary | |
final protected static Logger | LOGGER The logger for the postgis module. |
LOGGER | final protected static Logger LOGGER(Code) | | The logger for the postgis module.
|
expandDirtyBounds | public void expandDirtyBounds(Envelope envelope)(Code) | | Expands the current lat/lon dirty area
Parameters: envelope - a new dirtied area, expressed in EPSG:4326 crs |
getRevision | public long getRevision() throws IOException(Code) | | Returns the revision currently created during the transaction, eventually creating the
changesets record if not available
throws: IOException - |
getTransaction | Transaction getTransaction()(Code) | | Returns the transaction associated to this state
|
isFidDirty | public boolean isFidDirty(String typeName, String fid)(Code) | | Returns true if a specific feature has already been modified during this transaction
Parameters: typeName - Parameters: fid - |
isRevisionSet | public boolean isRevisionSet()(Code) | | |
setFidDirty | public void setFidDirty(String typeName, String fid)(Code) | | Marks a specified FID as dirty. This is used to avoid to do versioned operations
on the same feature multiple times in the same transaction. The first must create
the new versions, the others should operate against the new record
Parameters: ft - Parameters: fid - |
setTypeNameDirty | public void setTypeNameDirty(String typeName)(Code) | | Marks the specified type name as dirty, modified during the transaction
Parameters: typeName - |
toLatLonRectange | Geometry toLatLonRectange(ReferencedEnvelope env) throws IOException(Code) | | Takes a referenced envelope and turns it into a lat/lon Polygon
Parameters: envelope - throws: TransformException - |
|
|