| java.lang.Object org.vfny.geoserver.global.GeoServerFeatureSource org.vfny.geoserver.global.GeoServerFeatureStore
All known Subclasses: org.vfny.geoserver.global.GeoServerFeatureLocking, org.vfny.geoserver.global.GeoServerVersioningFeatureStore,
GeoServerFeatureStore | public class GeoServerFeatureStore extends GeoServerFeatureSource implements FeatureStore(Code) | | GeoServer wrapper for backend Geotools2 DataStore.
Support FeatureSource decorator for FeatureTypeInfo that takes care of
mapping the FeatureTypeInfo's FeatureSource with the schema and definition
query configured for it.
Because GeoServer requires that attributes always be returned in the same
order we need a way to smoothly inforce this. Could we use this class to do
so? It would need to support writing and locking though.
author: Gabriel Rold?n version: $Id: GeoServerFeatureStore.java 7265 2007-07-18 12:51:13Z aaime $ |
Constructor Summary | |
| GeoServerFeatureStore(FeatureStore store, FeatureType schema, Filter definitionQuery, CoordinateReferenceSystem declaredCRS, int srsHandling) Creates a new DEFQueryFeatureLocking object. |
GeoServerFeatureStore | GeoServerFeatureStore(FeatureStore store, FeatureType schema, Filter definitionQuery, CoordinateReferenceSystem declaredCRS, int srsHandling)(Code) | | Creates a new DEFQueryFeatureLocking object.
Parameters: store - GeoTools2 FeatureSource Parameters: schema - FeatureType served by source Parameters: definitionQuery - Filter that constrains source Parameters: declaredCRS - Geometries will be forced to this CRS (or null, if no forcing is needed) Parameters: srsHandling - |
getTransaction | public Transaction getTransaction()(Code) | | DOCUMENT ME!
DOCUMENT ME! |
modifyFeatures | public void modifyFeatures(AttributeType[] type, Object[] value, Filter filter) throws IOException(Code) | | DOCUMENT ME!
Parameters: type - DOCUMENT ME! Parameters: value - DOCUMENT ME! Parameters: filter - DOCUMENT ME! throws: IOException - DOCUMENT ME! |
modifyFeatures | public void modifyFeatures(AttributeType type, Object value, Filter filter) throws IOException(Code) | | DOCUMENT ME!
Parameters: type - DOCUMENT ME! Parameters: value - DOCUMENT ME! Parameters: filter - DOCUMENT ME! throws: IOException - DOCUMENT ME! |
removeFeatures | public void removeFeatures(Filter filter) throws IOException(Code) | | DOCUMENT ME!
Parameters: filter - DOCUMENT ME! throws: IOException - DOCUMENT ME! |
setFeatures | public void setFeatures(FeatureReader reader) throws IOException(Code) | | DOCUMENT ME!
Parameters: reader - DOCUMENT ME! throws: IOException - DOCUMENT ME! |
setTransaction | public void setTransaction(Transaction transaction)(Code) | | DOCUMENT ME!
Parameters: transaction - DOCUMENT ME! |
store | FeatureStore store()(Code) | | FeatureStore access (to save casting)
DOCUMENT ME! |
Fields inherited from org.vfny.geoserver.global.GeoServerFeatureSource | protected FeatureType schema(Code)(Java Doc) protected FeatureSource source(Code)(Java Doc)
|
Methods inherited from org.vfny.geoserver.global.GeoServerFeatureSource | protected Query adaptQuery(Query query, FeatureType schema) throws IOException(Code)(Java Doc) public void addFeatureListener(FeatureListener listener)(Code)(Java Doc) public static GeoServerFeatureSource create(FeatureSource featureSource, FeatureType schema, Filter definitionQuery, CoordinateReferenceSystem declaredCRS, int srsHandling)(Code)(Java Doc) public Envelope getBounds() throws IOException(Code)(Java Doc) public Envelope getBounds(Query query) throws IOException(Code)(Java Doc) public int getCount(Query query)(Code)(Java Doc) public DataStore getDataStore()(Code)(Java Doc) public FeatureCollection getFeatures(Query query) throws IOException(Code)(Java Doc) public FeatureCollection getFeatures(Filter filter) throws IOException(Code)(Java Doc) public FeatureCollection getFeatures() throws IOException(Code)(Java Doc) public FeatureType getSchema()(Code)(Java Doc) public Set getSupportedHints()(Code)(Java Doc) protected Filter makeDefinitionFilter(Filter filter) throws DataSourceException(Code)(Java Doc) protected Query makeDefinitionQuery(Query query, FeatureType schema) throws IOException(Code)(Java Doc) public void removeFeatureListener(FeatureListener listener)(Code)(Java Doc) protected FeatureCollection reprojectFeatureCollection(CoordinateReferenceSystem targetCRS, FeatureCollection fc) throws IOException, SchemaException, TransformException, OperationNotFoundException, FactoryException(Code)(Java Doc)
|
|
|