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