Revision 43205 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

View differences:

DataManager.java
25 25
import java.io.File;
26 26
import java.util.List;
27 27

  
28
import org.gvsig.fmap.dal.exception.DataException;
28 29
import org.gvsig.fmap.dal.exception.InitializeException;
29 30
import org.gvsig.fmap.dal.exception.ProviderNotRegisteredException;
30 31
import org.gvsig.fmap.dal.exception.ValidateDataParametersException;
......
34 35
import org.gvsig.fmap.dal.feature.FeatureQuery;
35 36
import org.gvsig.fmap.dal.feature.FeatureStore;
36 37
import org.gvsig.fmap.dal.feature.paging.FeaturePagingHelper;
38
import org.gvsig.fmap.dal.raster.NewRasterStoreParameters;
37 39
import org.gvsig.fmap.dal.resource.ResourceManager;
38 40
import org.gvsig.tools.dataTypes.DataType;
39 41
import org.gvsig.tools.dynobject.DynObject;
......
146 148
            ValidateDataParametersException;
147 149

  
148 150
    public DataStore openStore(
149
            String providerName, 
150
            Object... arguments) 
151
        throws 
152
            InitializeException, 
153
            ProviderNotRegisteredException, 
154
            ValidateDataParametersException;    
155
    
151
            String providerName,
152
            Object... arguments)
153
        throws
154
            InitializeException,
155
            ProviderNotRegisteredException,
156
            ValidateDataParametersException;
157

  
156 158
    public DataStore openStore(DynStruct struct)
157 159
            throws InitializeException, ProviderNotRegisteredException, ValidateDataParametersException;
158 160

  
......
231 233
            DataServerExplorerParameters parameters)
232 234
            throws InitializeException, ProviderNotRegisteredException,
233 235
            ValidateDataParametersException;
234
    
236

  
235 237
    public DataServerExplorer openServerExplorer(
236
            String explorerName, 
238
            String explorerName,
237 239
            Object... arguments)
238
        throws 
239
            InitializeException, 
240
            ProviderNotRegisteredException, 
240
        throws
241
            InitializeException,
242
            ProviderNotRegisteredException,
241 243
            ValidateDataParametersException;
242 244
    /**
243 245
     * @param parameters
244
     * @return 
245
     * @throws org.gvsig.fmap.dal.exception.InitializeException 
246
     * @throws org.gvsig.fmap.dal.exception.ProviderNotRegisteredException 
247
     * @throws org.gvsig.fmap.dal.exception.ValidateDataParametersException 
246
     * @return
247
     * @throws org.gvsig.fmap.dal.exception.InitializeException
248
     * @throws org.gvsig.fmap.dal.exception.ProviderNotRegisteredException
249
     * @throws org.gvsig.fmap.dal.exception.ValidateDataParametersException
248 250
     * @deprecated see openServerExplorer
249 251
     */
250 252
    public DataServerExplorer createServerExplorer(
251 253
            DataServerExplorerParameters parameters)
252 254
            throws InitializeException, ProviderNotRegisteredException,
253 255
            ValidateDataParametersException;
254
    
256

  
255 257
    /**
256 258
     * @param parameters
257
     * @return 
258
     * @throws org.gvsig.fmap.dal.exception.InitializeException 
259
     * @throws org.gvsig.fmap.dal.exception.ProviderNotRegisteredException 
260
     * @throws org.gvsig.fmap.dal.exception.ValidateDataParametersException 
259
     * @return
260
     * @throws org.gvsig.fmap.dal.exception.InitializeException
261
     * @throws org.gvsig.fmap.dal.exception.ProviderNotRegisteredException
262
     * @throws org.gvsig.fmap.dal.exception.ValidateDataParametersException
261 263
     * @deprecated see openStore
262 264
     */
263 265
    public DataStore createStore(DataStoreParameters parameters)
264 266
            throws InitializeException, ProviderNotRegisteredException,
265 267
            ValidateDataParametersException;
266
        
268

  
267 269
    /**
268 270
     * Returns a list of String containing the names of the available
269 271
     * DataServerExplorer providers.
......
296 298
     */
297 299
    public Evaluator createExpresion(String expression)
298 300
            throws InitializeException;
299
    
301

  
300 302
    /**
301 303
     * Creates an instance of Evaluator to evaluate a expression.
302 304
     *
303 305
     * @return instance of ExpressionEvaluator representing the given expression.
304 306
     */
305 307
    public ExpressionEvaluator createExpresion();
306
    
308

  
307 309
    /*
308 310
     * ====================================================================
309 311
     *
......
424 426

  
425 427
    /**
426 428
     * Creates a default ExpressionBuilder.
427
     * 
428
     * This ExpressionBuilder is not dependent on a data source, 
429
     *
430
     * This ExpressionBuilder is not dependent on a data source,
429 431
     * and is not advisable to use it.
430
     * 
432
     *
431 433
     * @return the ExpressionBuilder
432 434
     */
433 435
    public ExpressionBuilder createExpressionBuilder();
434
    
436

  
435 437
    /**
436 438
	 * Returns a list of String containing the names of the available cache providers.
437 439
	 *
438 440
	 * @return
439 441
	 * 		list of strings with the names of the available cache providers
440
	 */    
442
	 */
441 443
    public List getFeatureCacheProviders();
442 444

  
443 445
	/**
444 446
	 * Returns an instance of {@link DataServerExplorerParameters} corresponding
445 447
	 * to the given name used by the cache to create a store to save the
446 448
	 * retrieved data.
447
	 * 
449
	 *
448 450
	 * @param name
449 451
	 *            name of a registered feature cache provider
450
	 * 
452
	 *
451 453
	 * @throws InitializeException
452 454
	 *             if parameter initialization causes an error.
453
	 * 
455
	 *
454 456
	 * @throws ProviderNotRegisteredException
455 457
	 *             if could not find a cache provider by the given name.
456
	 * 
458
	 *
457 459
	 */
458 460
	public DynObject createCacheParameters(String name)
459 461
			throws InitializeException, ProviderNotRegisteredException;
460
    
462

  
463
    /**
464
     * @param providerName
465
     * @param params
466
     * @param overwrite
467
     * @throws DataException
468
     */
469
    public void createFileStore(String providerName, NewRasterStoreParameters params, boolean overwrite) throws DataException;
470

  
461 471
}

Also available in: Unified diff