svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.db / org.gvsig.fmap.dal.db.jdbc / src / main / java / org / gvsig / fmap / dal / store / jdbc2 / JDBCServerExplorer.java @ 45065
History | View | Annotate | Download (2.91 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, write to the Free Software
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
19 |
* MA 02110-1301, USA.
|
20 |
*
|
21 |
* For any additional information, do not hesitate to contact us
|
22 |
* at info AT gvsig.com, or visit our website www.gvsig.com.
|
23 |
*/
|
24 |
package org.gvsig.fmap.dal.store.jdbc2; |
25 |
|
26 |
import java.util.List; |
27 |
import org.gvsig.fmap.dal.DataStore; |
28 |
import org.gvsig.fmap.dal.DataStoreParameters; |
29 |
import org.gvsig.fmap.dal.NewDataStoreParameters; |
30 |
import org.gvsig.fmap.dal.exception.DataException; |
31 |
import org.gvsig.fmap.dal.exception.RemoveException; |
32 |
import org.gvsig.fmap.dal.feature.FeatureType; |
33 |
import org.gvsig.fmap.dal.resource.spi.ResourceConsumer; |
34 |
import org.gvsig.fmap.dal.store.jdbc.JDBCNewStoreParameters; |
35 |
import org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParameters; |
36 |
import org.gvsig.fmap.dal.store.jdbc.JDBCStoreParameters; |
37 |
import org.gvsig.fmap.dal.store.jdbc.exception.JDBCExecuteSQLException; |
38 |
|
39 |
|
40 |
public interface JDBCServerExplorer extends ResourceConsumer, org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorer { |
41 |
|
42 |
@Override
|
43 |
public JDBCServerExplorerParameters getParameters();
|
44 |
|
45 |
@Override
|
46 |
public String getProviderName(); |
47 |
|
48 |
@Override
|
49 |
public String getStoreName(); |
50 |
|
51 |
@Override
|
52 |
public boolean canAdd(); |
53 |
|
54 |
@Override
|
55 |
public boolean add( |
56 |
String providerName,
|
57 |
NewDataStoreParameters theParams, |
58 |
boolean overwrite
|
59 |
) throws DataException;
|
60 |
|
61 |
@Override
|
62 |
public List<DataStoreParameters> list(int mode) throws DataException; |
63 |
|
64 |
@Override
|
65 |
public DataStore open(DataStoreParameters params) throws DataException; |
66 |
|
67 |
@Override
|
68 |
public void remove(DataStoreParameters theParams) throws RemoveException; |
69 |
|
70 |
@Override
|
71 |
public void updateTableStatistics(String database, String schema, String table) throws JDBCExecuteSQLException; |
72 |
|
73 |
@Override
|
74 |
public JDBCNewStoreParameters getAddParameters() throws DataException; |
75 |
|
76 |
@Override
|
77 |
public JDBCStoreParameters getOpenParameters() throws DataException; |
78 |
|
79 |
@Override
|
80 |
public JDBCStoreParameters get(String name) throws DataException; |
81 |
|
82 |
@Override
|
83 |
public List getDataStoreProviderNames(); |
84 |
|
85 |
@Override
|
86 |
public FeatureType getFeatureType(DataStoreParameters theParams) throws DataException; |
87 |
|
88 |
} |