root / trunk / libraries / libDataSource / src / org / gvsig / data / vectorial / IFeatureStore.java @ 19404
History | View | Annotate | Download (1.69 KB)
1 |
package org.gvsig.data.vectorial; |
---|---|
2 |
|
3 |
import java.util.List; |
4 |
|
5 |
import org.gvsig.data.IDataCollection; |
6 |
import org.gvsig.data.IDataStore; |
7 |
import org.gvsig.data.IObserver; |
8 |
|
9 |
public interface IFeatureStore extends IDataStore{ |
10 |
|
11 |
public IDataCollection getDataCollection(IFeatureType type, String filter, String order); |
12 |
|
13 |
/**
|
14 |
* Para la carga en background
|
15 |
*/
|
16 |
public void getDataCollection(IFeatureType type, String filter, String order,IObserver observer); |
17 |
public void getDataCollection(IObserver observer); |
18 |
|
19 |
public IFeature getFeatureByID(IFeatureID id);
|
20 |
// public IFeature getFeatureByPosition(long position);
|
21 |
|
22 |
|
23 |
public List getFeatureTypes(); |
24 |
public IFeature createFeature(IFeatureType type);
|
25 |
|
26 |
public IFeature createDefaultFeature(boolean defaultValues); |
27 |
public IFeatureType getDefaultFeatureType();
|
28 |
|
29 |
public void update(IFeature feature, IFeature oldFeature); |
30 |
public void delete(IFeature feature); |
31 |
public void insert(IFeature feature); |
32 |
|
33 |
public void update(IFeatureAttributeDescriptor attributeDescriptor, IFeatureAttributeDescriptor oldAttributeDescriptor); |
34 |
public void delete(IFeatureAttributeDescriptor attributeDescriptor); |
35 |
public void insert(IFeatureAttributeDescriptor attributeDescriptor); |
36 |
|
37 |
public void disableNotifications(); |
38 |
public void enableNotifications(); |
39 |
|
40 |
//Bloqueo en edici?n
|
41 |
public boolean isLocked(IFeatureID id); |
42 |
public boolean lock(IFeatureID id); |
43 |
|
44 |
//Cuando el origen de datos define una leyenda a aplicar.
|
45 |
public boolean isWithDefaultLegend(); |
46 |
public Object getDefaultLegend(); |
47 |
public Object getDefaultLabelingStrategy(); |
48 |
|
49 |
public boolean canAlterFeatureType(); |
50 |
public void write(IFeatureCollection collection, IFeatureType featureType); |
51 |
|
52 |
} |
53 |
|