chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Huebel, Jens" <j.hue...@sap.com>
Subject Re: 0.9.0 - QueryUtil
Date Thu, 06 Jun 2013 06:01:04 GMT
Hi Marc,

I agree that the Javadoc should be improved here. The reason for changing
this was that there exist many implementations that extend the CMIS QL
grammar. The new structure is a bit more friendly to such kind of
extensions. 

QueryUtilStrict is the proper replacement.

Jens


On 05.06.13 21:00, "Michael Brackx" <michael.javaone+cmis@gmail.com> wrote:

>Hi,
>
>In 0.9.0 QueryUtil is deprecated.
>It would be nice if the javadoc hinted at what to use instead.
>I assume QueryUtilStrict.
>
>And also to update the documention of how to use queryUtil at
>http://chemistry.apache.org/java/how-to/how-to-process-query.html
>
>TypeManager tm = new MyTypeManager(); // implements interface TypeManager
>MyWalker myWalker = new MyWalker();
>QueryUtilStrict queryUtil = new QueryUtilStrict(statement, tm, myWalker);
>queryUtil.processStatementUsingCmisExceptions();
>queryObj = queryUtil.getQueryObject();
>
>Michael


Mime
View raw message