root / trunk / libraries / libDataSource / src / org / gvsig / data / vectorial / IFeatureStore.java @ 20599
History | View | Annotate | Download (1.84 KB)
1 | 19399 | vcaballero | 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 | 19735 | vcaballero | import org.gvsig.data.IDataStoreParameters; |
8 | 20599 | jmvivo | import org.gvsig.data.exception.InitializeException; |
9 | 19608 | jmvivo | import org.gvsig.data.exception.ReadException; |
10 | 20580 | jmvivo | import org.gvsig.util.observer.IObserver; |
11 | 19399 | vcaballero | |
12 | public interface IFeatureStore extends IDataStore{ |
||
13 | |||
14 | 20419 | vcaballero | public IDataCollection getDataCollection(IFeatureType type, String filter, String order) throws ReadException; |
15 | 19399 | vcaballero | |
16 | /**
|
||
17 | * Para la carga en background
|
||
18 | */
|
||
19 | public void getDataCollection(IFeatureType type, String filter, String order,IObserver observer); |
||
20 | public void getDataCollection(IObserver observer); |
||
21 | |||
22 | 20419 | vcaballero | public IFeature getFeatureByID(IFeatureID id) throws ReadException; |
23 | 19399 | vcaballero | // public IFeature getFeatureByPosition(long position);
|
24 | |||
25 | |||
26 | public List getFeatureTypes(); |
||
27 | 20599 | jmvivo | public IFeature createFeature(IFeatureType type) throws InitializeException; |
28 | 19399 | vcaballero | |
29 | 20599 | jmvivo | public IFeature createDefaultFeature(boolean defaultValues) throws InitializeException ; |
30 | 19399 | vcaballero | public IFeatureType getDefaultFeatureType();
|
31 | |||
32 | 20412 | vcaballero | public void update(IFeature feature); |
33 | 19399 | vcaballero | public void delete(IFeature feature); |
34 | public void insert(IFeature feature); |
||
35 | |||
36 | 20412 | vcaballero | public void update(IFeatureAttributeDescriptor attributeDescriptor); |
37 | 19399 | vcaballero | public void delete(IFeatureAttributeDescriptor attributeDescriptor); |
38 | public void insert(IFeatureAttributeDescriptor attributeDescriptor); |
||
39 | |||
40 | public void disableNotifications(); |
||
41 | public void enableNotifications(); |
||
42 | |||
43 | //Bloqueo en edici?n
|
||
44 | public boolean isLocked(IFeatureID id); |
||
45 | public boolean lock(IFeatureID id); |
||
46 | |||
47 | //Cuando el origen de datos define una leyenda a aplicar.
|
||
48 | public boolean isWithDefaultLegend(); |
||
49 | public Object getDefaultLegend(); |
||
50 | public Object getDefaultLabelingStrategy(); |
||
51 | |||
52 | public boolean canAlterFeatureType(); |
||
53 | |||
54 | 19735 | vcaballero | public IDataStoreParameters getParameters();
|
55 | 19411 | vcaballero | |
56 | 19735 | vcaballero | |
57 | 19399 | vcaballero | } |