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 @ 44369
History | View | Annotate | Download (2.02 KB)
1 | 43020 | jjdelcerro | package org.gvsig.fmap.dal.store.jdbc2; |
---|---|---|---|
2 | |||
3 | import java.util.List; |
||
4 | import org.gvsig.fmap.dal.DataStore; |
||
5 | import org.gvsig.fmap.dal.DataStoreParameters; |
||
6 | import org.gvsig.fmap.dal.NewDataStoreParameters; |
||
7 | 44297 | jjdelcerro | import org.gvsig.fmap.dal.OpenDataStoreParameters; |
8 | 43020 | jjdelcerro | import org.gvsig.fmap.dal.exception.DataException; |
9 | import org.gvsig.fmap.dal.exception.RemoveException; |
||
10 | import org.gvsig.fmap.dal.feature.FeatureType; |
||
11 | import org.gvsig.fmap.dal.resource.spi.ResourceConsumer; |
||
12 | import org.gvsig.fmap.dal.store.jdbc.JDBCNewStoreParameters; |
||
13 | import org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorerParameters; |
||
14 | import org.gvsig.fmap.dal.store.jdbc.JDBCStoreParameters; |
||
15 | import org.gvsig.fmap.dal.store.jdbc.exception.JDBCExecuteSQLException; |
||
16 | |||
17 | |||
18 | public interface JDBCServerExplorer extends ResourceConsumer, org.gvsig.fmap.dal.store.jdbc.JDBCServerExplorer { |
||
19 | |||
20 | @Override
|
||
21 | public JDBCServerExplorerParameters getParameters();
|
||
22 | |||
23 | @Override
|
||
24 | public String getProviderName(); |
||
25 | |||
26 | @Override
|
||
27 | public String getStoreName(); |
||
28 | |||
29 | @Override
|
||
30 | public boolean canAdd(); |
||
31 | |||
32 | @Override
|
||
33 | public boolean add( |
||
34 | String providerName,
|
||
35 | NewDataStoreParameters theParams, |
||
36 | boolean overwrite
|
||
37 | ) throws DataException;
|
||
38 | |||
39 | @Override
|
||
40 | 44297 | jjdelcerro | public List<DataStoreParameters> list(int mode) throws DataException; |
41 | 43020 | jjdelcerro | |
42 | @Override
|
||
43 | public DataStore open(DataStoreParameters params) throws DataException; |
||
44 | |||
45 | @Override
|
||
46 | public void remove(DataStoreParameters theParams) throws RemoveException; |
||
47 | |||
48 | @Override
|
||
49 | public void updateTableStatistics(String database, String schema, String table) throws JDBCExecuteSQLException; |
||
50 | |||
51 | @Override
|
||
52 | public JDBCNewStoreParameters getAddParameters() throws DataException; |
||
53 | |||
54 | @Override
|
||
55 | public JDBCStoreParameters getOpenParameters() throws DataException; |
||
56 | |||
57 | @Override
|
||
58 | 44297 | jjdelcerro | public JDBCStoreParameters get(String name) throws DataException; |
59 | 43020 | jjdelcerro | |
60 | @Override
|
||
61 | public List getDataStoreProviderNames(); |
||
62 | |||
63 | @Override
|
||
64 | public FeatureType getFeatureType(DataStoreParameters theParams) throws DataException; |
||
65 | 43377 | jjdelcerro | |
66 | 43020 | jjdelcerro | } |