svn-gvsig-desktop / trunk / org.gvsig.desktop / org.gvsig.desktop.compat.cdc / org.gvsig.fmap.dal / org.gvsig.fmap.dal.api / src / main / java / org / gvsig / fmap / dal / DataServerExplorer_v2.java @ 47737
History | View | Annotate | Download (855 Bytes)
1 | 43050 | jjdelcerro | package org.gvsig.fmap.dal; |
---|---|---|---|
2 | |||
3 | 47737 | jjdelcerro | import org.gvsig.fmap.dal.exception.CloseException; |
4 | import org.gvsig.fmap.dal.exception.DataException; |
||
5 | import org.gvsig.fmap.dal.exception.OpenException; |
||
6 | import org.gvsig.tools.util.PropertiesSupport; |
||
7 | 43050 | jjdelcerro | |
8 | 47737 | jjdelcerro | public interface DataServerExplorer_v2 extends DataServerExplorer, PropertiesSupport { |
9 | |||
10 | public SQLBuilder createSQLBuilder();
|
||
11 | |||
12 | /**
|
||
13 | * Open a store defined by <code>dsp</code>
|
||
14 | *
|
||
15 | * @param dsp
|
||
16 | * @return
|
||
17 | * @throws DataException
|
||
18 | */
|
||
19 | public DataStore open(DataStoreParameters dsp)
|
||
20 | throws DataException;
|
||
21 | |||
22 | /**
|
||
23 | * Open connection to the server
|
||
24 | *
|
||
25 | * @throws OpenException
|
||
26 | */
|
||
27 | public void open() throws OpenException; |
||
28 | |||
29 | /**
|
||
30 | * Close connection to the server
|
||
31 | *
|
||
32 | * @throws OpenException
|
||
33 | */
|
||
34 | public void close() throws CloseException; |
||
35 | 43050 | jjdelcerro | } |