Revision 44023 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
44 44
import org.gvsig.tools.dynobject.DynStruct;
45 45
import org.gvsig.tools.dynobject.Tags;
46 46
import org.gvsig.tools.evaluator.Evaluator;
47
import org.gvsig.tools.evaluator.EvaluatorFactory;
48 47
import org.gvsig.tools.exception.BaseException;
49 48
import org.gvsig.tools.service.spi.Services;
50 49
import org.gvsig.fmap.dal.expressionevaluator.FeatureAttributeEmulatorExpression;
......
281 280
     */
282 281
    public List<String> getExplorerProviders();
283 282

  
284
    /*
285
     * ====================================================================
283
    /**
284
     * Creates an instance of Evaluator that represents the given expression.
286 285
     *
287
     * Expression evaluation related services
286
     * @param expression String containing a CQL expression.
287
     * @return instance of Evaluator representing the given expression.
288
     * @throws InitializeException
289
     * @deprecated use createFilter
288 290
     */
291
    public Evaluator createExpresion(String expression)
292
            throws InitializeException;
293

  
289 294
    /**
290
     * Registers the default expression evaluator. It is used by DAL to evaluate
291
     * and resolve query filters and expressions.
295
     * Creates an instance of Evaluator that represents the given expression.
292 296
     *
293
     * @param evaluatorFactory
297
     * @param expression a Expression with the filter
298
     * @return instance of Evaluator representing the given expression.
299
     * @throws InitializeException
300
     * @deprecated use createFilter
294 301
     */
295
    public void registerDefaultEvaluator(EvaluatorFactory evaluatorFactory);
302
    public Evaluator createExpresion(Expression expression)
303
            throws InitializeException;
296 304

  
297 305
    /**
298 306
     * Creates an instance of Evaluator that represents the given expression.
......
301 309
     * @return instance of Evaluator representing the given expression.
302 310
     * @throws InitializeException
303 311
     */
304
    public Evaluator createExpresion(String expression)
312
    public Evaluator createFilter(String expression)
305 313
            throws InitializeException;
306 314

  
307
    public Evaluator createExpresion(Expression expression)
315
    /**
316
     * Creates an instance of Evaluator that represents the given expression.
317
     *
318
     * @param expression a Expression with the filter
319
     * @return instance of Evaluator representing the given expression.
320
     * @throws InitializeException
321
     */
322
    public Evaluator createFilter(Expression expression)
308 323
            throws InitializeException;
309 324

  
310
    public EvaluatorFactory createEvaluatorFactory();
311
    
312 325
    /*
313 326
     * ====================================================================
314 327
     *
......
434 447
     * and is not advisable to use it.
435 448
     *
436 449
     * @return the ExpressionBuilder
450
     * @deprecated use ExpressionEvaluatorManager.createExpressionBuilder()
437 451
     */
438 452
    public ExpressionBuilder createExpressionBuilder();
439 453

  

Also available in: Unified diff