svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_data / src / org / gvsig / fmap / data / feature / spi / FeatureStoreProvider.java @ 24144
History | View | Annotate | Download (1.94 KB)
1 |
package org.gvsig.fmap.data.feature.spi; |
---|---|
2 |
|
3 |
|
4 |
import java.util.Iterator; |
5 |
|
6 |
import org.gvsig.fmap.data.DataStoreParameters; |
7 |
import org.gvsig.fmap.data.exceptions.CreateException; |
8 |
import org.gvsig.fmap.data.exceptions.DataException; |
9 |
import org.gvsig.fmap.data.exceptions.InitializeException; |
10 |
import org.gvsig.fmap.data.feature.FeatureQuery; |
11 |
import org.gvsig.fmap.data.feature.FeatureReference; |
12 |
import org.gvsig.fmap.data.feature.FeatureSelection; |
13 |
import org.gvsig.fmap.data.feature.FeatureType; |
14 |
import org.gvsig.fmap.data.spi.DataStoreProvider; |
15 |
import org.gvsig.fmap.geom.primitive.Envelope; |
16 |
import org.gvsig.metadata.Metadatable; |
17 |
import org.gvsig.tools.persistence.Persistent; |
18 |
|
19 |
public interface FeatureStoreProvider extends Persistent, Metadatable, |
20 |
DataStoreProvider { |
21 |
|
22 |
public String getName(); |
23 |
|
24 |
|
25 |
public FeatureData createNewFeatureData(FeatureType type) throws DataException; |
26 |
|
27 |
public FeatureReference createFeatureReference(Object frefid); |
28 |
|
29 |
public FeatureData getFeatureData(Object refId) throws DataException; |
30 |
|
31 |
public FeatureSelection createFeatureSelection() throws DataException; |
32 |
|
33 |
public FeatureLocks createFeatureLocks() throws DataException; |
34 |
|
35 |
public FeatureData getFeatureDataByReference(FeatureReference reference, FeatureType featureType)
|
36 |
throws DataException;
|
37 |
|
38 |
public boolean allowWrite(); |
39 |
|
40 |
public boolean canWriteGeometry(int geometryType); |
41 |
|
42 |
public void performEditing(Iterator deleteds, Iterator inserteds, Iterator updateds) throws DataException; |
43 |
|
44 |
public Envelope getEnvelope();
|
45 |
|
46 |
public FeatureStoreProvider initialize(FeatureStoreProviderServices store)
|
47 |
throws InitializeException;
|
48 |
|
49 |
public void create(DataStoreParameters parameters, FeatureType featureType, |
50 |
boolean overwrite) throws CreateException; |
51 |
|
52 |
public boolean canCreate(); |
53 |
|
54 |
public FeatureSetProvider createSet(FeatureQuery query)
|
55 |
throws DataException;
|
56 |
|
57 |
public boolean isLocksSupported(); |
58 |
|
59 |
public FeatureStoreProviderServices getStoreServices();
|
60 |
|
61 |
public int getFeatureReferenceIdType(); |
62 |
|
63 |
} |