svn-gvsig-desktop / branches / v2_0_0_prep / libraries / libFMap_dal / src / org / gvsig / fmap / dal / feature / spi / FeatureStoreProviderServices.java @ 25785
History | View | Annotate | Download (1.4 KB)
1 |
package org.gvsig.fmap.dal.feature.spi; |
---|---|
2 |
|
3 |
import java.util.List; |
4 |
|
5 |
import org.gvsig.fmap.dal.exception.DataException; |
6 |
import org.gvsig.fmap.dal.feature.EditableFeatureType; |
7 |
import org.gvsig.fmap.dal.feature.Feature; |
8 |
import org.gvsig.fmap.dal.feature.FeatureSelection; |
9 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
10 |
import org.gvsig.fmap.dal.feature.FeatureType; |
11 |
import org.gvsig.fmap.dal.impl.DefaultDataManager; |
12 |
import org.gvsig.fmap.dal.resource.Resource; |
13 |
import org.gvsig.tools.undo.command.Command; |
14 |
import org.slf4j.Logger; |
15 |
|
16 |
public interface FeatureStoreProviderServices extends FeatureStore { |
17 |
|
18 |
public void notifyChange(String notification); |
19 |
|
20 |
public void notifyChange(String notification, Resource resource); |
21 |
|
22 |
public void notifyChange(String notification, Command command); |
23 |
|
24 |
public void notifyChange(String notification, EditableFeatureType type); |
25 |
|
26 |
public FeatureSelection createDefaultFeatureSelection()
|
27 |
throws DataException;
|
28 |
|
29 |
public FeatureData createDefaultFeatureData(FeatureType type)
|
30 |
throws DataException;
|
31 |
|
32 |
public void setFeatureTypes(List types, FeatureType defaultType); |
33 |
|
34 |
public DefaultDataManager getManager();
|
35 |
|
36 |
public Feature createFeature(FeatureData data, FeatureType type)
|
37 |
throws DataException;
|
38 |
|
39 |
public Feature createFeature(FeatureData data)
|
40 |
throws DataException;
|
41 |
|
42 |
|
43 |
public EditableFeatureType createFeatureType();
|
44 |
|
45 |
public FeatureStoreProvider getProvider();
|
46 |
|
47 |
public Logger getLogger(); |
48 |
|
49 |
} |