root / trunk / libraries / libDataSource / src / org / gvsig / data / vectorial / IFeatureStore.java @ 20599
History | View | Annotate | Download (1.84 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.IDataStoreParameters; |
8 |
import org.gvsig.data.exception.InitializeException; |
9 |
import org.gvsig.data.exception.ReadException; |
10 |
import org.gvsig.util.observer.IObserver; |
11 |
|
12 |
public interface IFeatureStore extends IDataStore{ |
13 |
|
14 |
public IDataCollection getDataCollection(IFeatureType type, String filter, String order) throws ReadException; |
15 |
|
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 |
public IFeature getFeatureByID(IFeatureID id) throws ReadException; |
23 |
// public IFeature getFeatureByPosition(long position);
|
24 |
|
25 |
|
26 |
public List getFeatureTypes(); |
27 |
public IFeature createFeature(IFeatureType type) throws InitializeException; |
28 |
|
29 |
public IFeature createDefaultFeature(boolean defaultValues) throws InitializeException ; |
30 |
public IFeatureType getDefaultFeatureType();
|
31 |
|
32 |
public void update(IFeature feature); |
33 |
public void delete(IFeature feature); |
34 |
public void insert(IFeature feature); |
35 |
|
36 |
public void update(IFeatureAttributeDescriptor attributeDescriptor); |
37 |
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 |
public IDataStoreParameters getParameters();
|
55 |
|
56 |
|
57 |
} |
58 |
|