Revision 23842 branches/v2_0_0_prep/libraries/libFMap_data/src/org/gvsig/fmap/data/feature/FeatureStore.java
FeatureStore.java | ||
---|---|---|
44 | 44 |
* @throws ReadException |
45 | 45 |
* if there is any error while reading the features |
46 | 46 |
*/ |
47 |
FeatureCollection getFeatureCollection() throws DataException;
|
|
47 |
FeatureSet getFeatureSet() throws DataException;
|
|
48 | 48 |
|
49 | 49 |
/** |
50 | 50 |
* Returns a subset of features taking into account the properties and |
... | ... | |
56 | 56 |
* @throws ReadException |
57 | 57 |
* if there is any error while reading the features |
58 | 58 |
*/ |
59 |
FeatureCollection getFeatureCollection(FeatureQuery featureQuery)
|
|
59 |
FeatureSet getFeatureSet(FeatureQuery featureQuery)
|
|
60 | 60 |
throws DataException; |
61 | 61 |
|
62 | 62 |
/** |
... | ... | |
71 | 71 |
* @throws DataException |
72 | 72 |
* if there is any error while loading the features |
73 | 73 |
*/ |
74 |
void getFeatureCollection(FeatureQuery featureQuery, Observer observer)
|
|
74 |
void getFeatureSet(FeatureQuery featureQuery, Observer observer)
|
|
75 | 75 |
throws DataException; |
76 | 76 |
|
77 | 77 |
/** |
... | ... | |
84 | 84 |
* @throws DataException |
85 | 85 |
* if there is any error while loading the features |
86 | 86 |
*/ |
87 |
void getFeatureCollection(Observer observer) throws DataException;
|
|
87 |
void getFeatureSet(Observer observer) throws DataException;
|
|
88 | 88 |
|
89 |
public Feature getFeatureByID(FeatureID id) throws DataException;
|
|
89 |
public Feature getFeatureByReference(FeatureReference reference) throws DataException;
|
|
90 | 90 |
|
91 |
public Feature getFeatureByID(FeatureID id, FeatureType featureType)
|
|
91 |
public Feature getFeatureByReference(FeatureReference reference, FeatureType featureType)
|
|
92 | 92 |
throws DataException; |
93 | 93 |
|
94 | 94 |
public FeatureType getDefaultFeatureType() throws DataException; |
... | ... | |
114 | 114 |
|
115 | 115 |
|
116 | 116 |
public void update(EditableFeatureType featureType) throws DataException; |
117 |
/* TODO ??? |
|
118 |
public void delete(FeatureType featureType) throws DataException; |
|
119 | 117 |
|
120 |
public void insert(EditableFeatureType featureType) throws DataException; |
|
121 |
*/ |
|
118 |
public FeatureSet getLocks() throws DataException; |
|
122 | 119 |
|
123 |
public FeatureCollection getLocks() throws DataException;
|
|
120 |
public boolean isLocksSupported();
|
|
124 | 121 |
|
125 | 122 |
public DataStoreParameters getParameters(); |
126 | 123 |
|
... | ... | |
169 | 166 |
|
170 | 167 |
public boolean allowWrite(); |
171 | 168 |
|
172 |
public void setSelection(FeatureCollection selection) throws DataException;
|
|
169 |
public void setSelection(FeatureSet selection) throws DataException;
|
|
173 | 170 |
|
174 |
public FeatureCollection createFeatureSelection() throws DataException;
|
|
171 |
public FeatureSet createFeatureSelection() throws DataException;
|
|
175 | 172 |
|
176 |
public FeatureCollection getFeatureSelection() throws DataException;
|
|
173 |
public FeatureSet getFeatureSelection() throws DataException;
|
|
177 | 174 |
|
178 | 175 |
public Envelope getEnvelope(); |
179 | 176 |
|
Also available in: Unified diff