Revision 42775 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/DataManager.java
DataManager.java | ||
---|---|---|
36 | 36 |
import org.gvsig.fmap.dal.feature.FeatureQuery; |
37 | 37 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
38 | 38 |
import org.gvsig.fmap.dal.feature.paging.FeaturePagingHelper; |
39 |
import org.gvsig.fmap.dal.resource.ResourceManager; |
|
39 | 40 |
import org.gvsig.tools.dynobject.DynObject; |
41 |
import org.gvsig.tools.dynobject.DynStruct; |
|
40 | 42 |
import org.gvsig.tools.evaluator.Evaluator; |
41 | 43 |
import org.gvsig.tools.exception.BaseException; |
42 | 44 |
|
... | ... | |
73 | 75 |
* Creates, initializes and returns an instance of DataStoreParameters given |
74 | 76 |
* the name with which their provider is registered. |
75 | 77 |
* |
76 |
* @param name |
|
77 |
* provider name
|
|
78 |
* @param name provider name
|
|
79 |
* @return the data store parameters
|
|
78 | 80 |
* |
79 | 81 |
* @throws ProviderNotRegisteredException |
80 | 82 |
* if the memory provider is not registered |
... | ... | |
84 | 86 |
**/ |
85 | 87 |
public DataStoreParameters createStoreParameters(String name) |
86 | 88 |
throws InitializeException, ProviderNotRegisteredException; |
89 |
|
|
87 | 90 |
|
88 | 91 |
/** |
92 |
* Creates, initializes and fill an instance of DataStoreParameters from |
|
93 |
* the tags of the DynStruct passed as parameter. |
|
89 | 94 |
* |
95 |
* @param struct structure from which tags were created ths parameters. |
|
96 |
* @return the data store parameters |
|
97 |
* |
|
98 |
* @throws ProviderNotRegisteredException |
|
99 |
* if the memory provider is not registered |
|
100 |
* @throws InitializeException |
|
101 |
* if there is an error initializing the parameters for the |
|
102 |
* memory provider |
|
103 |
**/ |
|
104 |
public DataStoreParameters createStoreParameters(DynStruct struct) |
|
105 |
throws InitializeException, ProviderNotRegisteredException; |
|
106 |
|
|
107 |
/** |
|
90 | 108 |
* Creates, initializes and returns an instance of NewDataStoreParameters |
91 | 109 |
* given the name with which their provider is registered. |
92 | 110 |
* |
93 |
* @param name |
|
111 |
* @param explorer |
|
112 |
* @param provider |
|
113 |
* @return |
|
94 | 114 |
* |
95 | 115 |
* @throws InitializeException |
96 | 116 |
* @throws ProviderNotRegisteredException |
... | ... | |
103 | 123 |
* Creates, initializes and returns an instance of DataStore given the |
104 | 124 |
* DataStoreParameters. |
105 | 125 |
* |
126 |
* @param provider |
|
106 | 127 |
* @param parameters |
107 | 128 |
* parameters used to instantiate and initialize the DataStore |
129 |
* @return |
|
108 | 130 |
* |
109 | 131 |
* @throws ProviderNotRegisteredException |
110 | 132 |
* if the memory provider is not registered |
... | ... | |
122 | 144 |
public DataStore openStore(String provider, DataStoreParameters parameters) |
123 | 145 |
throws InitializeException, ProviderNotRegisteredException, |
124 | 146 |
ValidateDataParametersException; |
147 |
|
|
148 |
public DataStore openStore(DynStruct struct) |
|
149 |
throws InitializeException, ProviderNotRegisteredException, ValidateDataParametersException ; |
|
150 |
|
|
125 | 151 |
/** |
126 | 152 |
* @deprecated see openStore |
127 | 153 |
*/ |
... | ... | |
419 | 445 |
|
420 | 446 |
public DataServerExplorerPool getDataServerExplorerPool(); |
421 | 447 |
public void setDataServerExplorerPool(DataServerExplorerPool pool); |
448 |
|
|
422 | 449 |
} |
Also available in: Unified diff