[jira] Updated: (JCR-1853) Modified QueryImpl to enable external query builders to read and write JCR expressions in the orderBy Clause

2008-11-18 Thread Jukka Zitting (JIRA)

 [ 
https://issues.apache.org/jira/browse/JCR-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jukka Zitting updated JCR-1853:
---

Affects Version/s: (was: 1.5.0)
Fix Version/s: (was: 1.6.0)
   1.5.0

Merged to the 1.5 branch in revision 718525.

> Modified QueryImpl to enable external query builders to read and write JCR 
> expressions in the orderBy Clause
> 
>
> Key: JCR-1853
> URL: https://issues.apache.org/jira/browse/JCR-1853
> Project: Jackrabbit
>  Issue Type: Improvement
>  Components: jackrabbit-ocm
>Reporter: Shrirang
>Assignee: Christophe Lombart
> Fix For: 1.5.0
>
> Attachments: OrderByPatch.patch
>
>
> The QueryImpl does not create the JCR expression on the fly. The 
> OrderByExpression does the job. If an external querybuilder class needs to 
> dynamically collect properties against which order by is required, QueryImpl 
> does not support updating the JCR Expression. It can only return the built 
> expression since arrayList is used for collecting the properties. The change 
> enables one to add JCRExpression to the QueryImpl object. A test has been 
> added.
> Changed files:
> Path
> src/main/java/org/apache/jackrabbit/ocm/query/impl/QueryImpl.java
> src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterSimpleQueryTest.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (JCR-1853) Modified QueryImpl to enable external query builders to read and write JCR expressions in the orderBy Clause

2008-11-17 Thread Christophe Lombart (JIRA)

 [ 
https://issues.apache.org/jira/browse/JCR-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Christophe Lombart updated JCR-1853:


  Component/s: jackrabbit-ocm
Affects Version/s: 1.5.0

> Modified QueryImpl to enable external query builders to read and write JCR 
> expressions in the orderBy Clause
> 
>
> Key: JCR-1853
> URL: https://issues.apache.org/jira/browse/JCR-1853
> Project: Jackrabbit
>  Issue Type: Improvement
>  Components: jackrabbit-ocm
>Affects Versions: 1.5.0
>Reporter: Shrirang
>Assignee: Christophe Lombart
> Fix For: 1.6.0
>
> Attachments: OrderByPatch.patch
>
>
> The QueryImpl does not create the JCR expression on the fly. The 
> OrderByExpression does the job. If an external querybuilder class needs to 
> dynamically collect properties against which order by is required, QueryImpl 
> does not support updating the JCR Expression. It can only return the built 
> expression since arrayList is used for collecting the properties. The change 
> enables one to add JCRExpression to the QueryImpl object. A test has been 
> added.
> Changed files:
> Path
> src/main/java/org/apache/jackrabbit/ocm/query/impl/QueryImpl.java
> src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterSimpleQueryTest.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.



[jira] Updated: (JCR-1853) Modified QueryImpl to enable external query builders to read and write JCR expressions in the orderBy Clause

2008-11-13 Thread Shrirang (JIRA)

 [ 
https://issues.apache.org/jira/browse/JCR-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shrirang updated JCR-1853:
--

Attachment: OrderByPatch.patch

The fix for the issue has been provided in the attachment as a patch.

> Modified QueryImpl to enable external query builders to read and write JCR 
> expressions in the orderBy Clause
> 
>
> Key: JCR-1853
> URL: https://issues.apache.org/jira/browse/JCR-1853
> Project: Jackrabbit
>  Issue Type: Improvement
>Reporter: Shrirang
> Fix For: 1.6.0
>
> Attachments: OrderByPatch.patch
>
>
> The QueryImpl does not create the JCR expression on the fly. The 
> OrderByExpression does the job. If an external querybuilder class needs to 
> dynamically collect properties against which order by is required, QueryImpl 
> does not support updating the JCR Expression. It can only return the built 
> expression since arrayList is used for collecting the properties. The change 
> enables one to add JCRExpression to the QueryImpl object. A test has been 
> added.
> Changed files:
> Path
> src/main/java/org/apache/jackrabbit/ocm/query/impl/QueryImpl.java
> src/test/java/org/apache/jackrabbit/ocm/manager/query/DigesterSimpleQueryTest.java

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.