public void changed(FeatureEvent featureEvent) { FeatureEvent retyped = new FeatureEvent(source, featureEvent.getEventType(), featureEvent.getBounds()); listener.changed(retyped); } }
public int lockFeatures(Filter filter) throws IOException { return lockDelegate.lockFeatures(new Query(null, filter)); }
@Override public DataAccess<? extends FeatureType, ? extends Feature> getDataStore( ProgressListener listener) throws IOException { return DataUtilities.dataStore((SimpleFeatureSource) featureSource); } };
public FeatureCollection<T, F> getFeatures() throws IOException { return delegate.getFeatures(); }
/** * DOCUMENT ME! * * @param query DOCUMENT ME! * @return DOCUMENT ME! * @throws IOException DOCUMENT ME! * @throws DataSourceException DOCUMENT ME! */ public int lockFeatures(Query query) throws IOException { if (source instanceof FeatureLocking) { return ((FeatureLocking<SimpleFeatureType, SimpleFeature>) source).lockFeatures(query); } else { throw new DataSourceException("FeatureTypeConfig does not supports locking"); } }
@Override public FeatureType getFeatureType() throws IOException { return featureSource.getSchema(); }
public void close() throws IOException { delegate.close(); delegate = null; builder = null; }
public void close() throws IOException { delegate.close(); delegate = null; builder = null; }
public int getCount(Query query) throws IOException { return delegate.getCount(query); }
public void setTransaction(Transaction transaction) { storeDelegate.setTransaction(transaction); }
public DataAccess<T, F> getDataStore() { return delegate.getDataStore(); }
@Override public Name getQualifiedName() { return featureSource.getName(); }
public List<Name> getNames() throws IOException { return delegate.getNames(); }
public void removeFeatureListener(FeatureListener listener) { delegate.removeFeatureListener(listener); } }
public void addFeatureListener(FeatureListener listener) { delegate.addFeatureListener(listener); }
public boolean isOffsetSupported() { return delegate.isOffsetSupported(); }
public ServiceInfo getInfo() { return delegate.getInfo(); }
public boolean isVersionSupported() { return delegate.isVersionSupported(); } }
public void removeSchema(Name typeName) throws IOException { delegate.removeSchema(typeName); } }
public T getSchema() { return delegate.getSchema(); }