|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VersioningDataStore
A data store that can version enable feature types, and then keep version history for those. TODO: add better docs on how to leverage featureVersion in standard queries, as well as
Field Summary | |
---|---|
static java.lang.String |
AUTHOR
Key used in transaction properties to hold the commit author |
static java.lang.String |
MESSAGE
Key used in transaction properties to hold the commit message |
Method Summary | |
---|---|
boolean |
isVersioned(java.lang.String typeName)
Returns true if the specified feature type is versioned, false otherwise |
void |
setVersioned(java.lang.String typeName,
boolean versioned,
java.lang.String author,
java.lang.String message)
Alters the versioned state of a feature type |
Methods inherited from interface org.geotools.data.DataStore |
---|
getFeatureReader, getFeatureSource, getFeatureWriter, getFeatureWriter, getFeatureWriterAppend, getLockingManager, getSchema, getTypeNames, getView, updateSchema |
Methods inherited from interface org.geotools.data.DataAccess |
---|
createSchema, dispose, getFeatureSource, getInfo, getNames, getSchema, updateSchema |
Field Detail |
---|
static final java.lang.String AUTHOR
static final java.lang.String MESSAGE
Method Detail |
---|
boolean isVersioned(java.lang.String typeName) throws java.io.IOException
typeName
-
java.io.IOException
void setVersioned(java.lang.String typeName, boolean versioned, java.lang.String author, java.lang.String message) throws java.io.IOException
typeName
- the type name that must be changedversioned
- if true, the type gets version enabled, if false versioning is
disabledt
- the transaction used to performe version enabling. It shall
contain user and commit message as properties.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |