gvsig-projects-pool / org.gvsig.vcsgis / trunk / org.gvsig.vcsgis / org.gvsig.vcsgis.lib / org.gvsig.vcsgis.lib.impl / src / main / java / org / gvsig / vcsgis / client / VCSGisWorkspaceEx.java @ 2381
History | View | Annotate | Download (1.86 KB)
1 |
/*
|
---|---|
2 |
* gvSIG. Desktop Geographic Information System.
|
3 |
*
|
4 |
* Copyright (C) 2007-2020 gvSIG Association.
|
5 |
*
|
6 |
* This program is free software; you can redistribute it and/or
|
7 |
* modify it under the terms of the GNU General Public License
|
8 |
* as published by the Free Software Foundation; either version 3
|
9 |
* of the License, or (at your option) any later version.
|
10 |
*
|
11 |
* This program is distributed in the hope that it will be useful,
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
14 |
* GNU General Public License for more details.
|
15 |
*
|
16 |
* You should have received a copy of the GNU General Public License
|
17 |
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
18 |
*
|
19 |
* For any additional information, do not hesitate to contact us
|
20 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
21 |
*/
|
22 |
package org.gvsig.vcsgis.client; |
23 |
|
24 |
import java.util.Collection; |
25 |
import java.util.Iterator; |
26 |
import org.gvsig.vcsgis.client.tables.EntitiesTable.EntityRow; |
27 |
import org.gvsig.fmap.dal.feature.Feature; |
28 |
import org.gvsig.fmap.dal.feature.FeatureReference; |
29 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
30 |
import org.gvsig.vcsgis.lib.VCSGisWorkspace; |
31 |
|
32 |
/**
|
33 |
*
|
34 |
* @author jjdelcerro
|
35 |
*/
|
36 |
public interface VCSGisWorkspaceEx extends VCSGisWorkspace { |
37 |
|
38 |
public Collection<EntityRow> getEntitiesAsEntityRow(); |
39 |
|
40 |
@Override
|
41 |
public EntityRow getEntityByName(String name); |
42 |
|
43 |
public EntityRow getEntityByCode(String code); |
44 |
|
45 |
public String createUniqueID(); |
46 |
|
47 |
public int add_changes(FeatureStore store, Iterator<Feature> insertedsFeatures, Iterator<Feature> updatedsFeatures, Iterator<FeatureReference> deletedsFeatures); |
48 |
|
49 |
public boolean contains(FeatureStore store); |
50 |
|
51 |
@Override
|
52 |
public void create_table(String tableName); |
53 |
|
54 |
public int add_change(int op, FeatureStore store, Feature feature); |
55 |
|
56 |
} |