Statistics
| Revision:

svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_data / src / org / gvsig / fmap / data / feature / spi / FeatureStoreProvider.java @ 23772

History | View | Annotate | Download (1.85 KB)

1
package org.gvsig.fmap.data.feature.spi;
2

    
3
import java.util.Iterator;
4

    
5
import org.gvsig.fmap.data.DataExplorer;
6
import org.gvsig.fmap.data.exceptions.CloseException;
7
import org.gvsig.fmap.data.exceptions.DataException;
8
import org.gvsig.fmap.data.exceptions.InitializeException;
9
import org.gvsig.fmap.data.exceptions.OpenException;
10
import org.gvsig.fmap.data.exceptions.ReadException;
11
import org.gvsig.fmap.data.exceptions.WriteException;
12
import org.gvsig.fmap.data.feature.Feature;
13
import org.gvsig.fmap.data.feature.FeatureCollection;
14
import org.gvsig.fmap.data.feature.FeatureID;
15
import org.gvsig.fmap.data.feature.FeatureQuery;
16
import org.gvsig.fmap.data.feature.FeatureType;
17
import org.gvsig.fmap.geom.primitive.Envelope;
18
import org.gvsig.metadata.Metadatable;
19

    
20
import com.iver.utiles.IPersistence;
21

    
22
public interface FeatureStoreProvider extends IPersistence, Metadatable {
23

    
24
        public FeatureData createFeatureData(FeatureType type) throws DataException;
25

    
26
        public FeatureSelection createFeatureSelection() throws DataException;
27

    
28
        public FeatureLocks createFeatureLocks() throws DataException;
29

    
30
        public TemporaryContainer createTemporaryContainer() throws DataException;
31

    
32
        public FeatureCollection getFeatureCollection(FeatureQuery featureQuery)
33
        throws ReadException;
34

    
35
        public Feature getFeatureByID(FeatureID id, FeatureType featureType)
36
                        throws ReadException;
37

    
38
        public Iterator getChilds();
39

    
40
        public boolean allowWrite();
41

    
42
        public boolean canWriteGeometry(int geometryType);
43

    
44
        public DataExplorer getExplorer() throws ReadException;
45

    
46
        public void open() throws OpenException;
47

    
48
        public void close() throws CloseException;
49

    
50
        public void refresh() throws OpenException, InitializeException;
51

    
52
        public void dispose() throws CloseException;
53

    
54
        public void performEditing() throws WriteException, ReadException;
55

    
56
        public Envelope getEnvelope();
57

    
58
        public void initialize(FeatureStore store);
59

    
60
}